This commit is contained in:
Andreas Hubel 2020-06-07 21:46:17 +02:00
parent a66c791840
commit 433045f405
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ try {
$route = rtrim($route, '/');
$GLOBALS['forceopen'] = isset($_GET['forceopen']);
$GLOBALS['netcut'] = preg_match('@^relive/([0-9]+)/cut$@', $route);
$GLOBALS['netcut'] = preg_match('@/cut$@', $route);
// generic template

View file

@ -63,7 +63,7 @@
<script type="text/javascript" src="<?=h($assets)?>js/lib/bootstrap-datepicker.min.js"></script>
<? if(isset($GLOBALS['netcut']) && $GLOBALS['netcut'] === true): ?>
<? if(isset($netcut) && $netcut === true): ?>
<link href="<?=h($assets)?>netcut/lib/videojs/video-js.min.css" rel="stylesheet">
<link href="<?=h($assets)?>netcut/lib/videojs-markers/videojs.markers.min.css" rel="stylesheet">
<link href="<?=h($assets)?>netcut/assets/style.css" rel="stylesheet">