mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
fix?
This commit is contained in:
parent
a66c791840
commit
433045f405
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue