aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/page.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/page.phtml b/template/page.phtml
index 9a8fbfa..64fc79e 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -63,7 +63,7 @@
<script type="text/javascript" src="<?=h($assets)?>js/lib/bootstrap-datepicker.min.js"></script>
- <? if(isset($netcut) && $netcut === true): ?>
+ <? if (preg_match('@/cut$@', $_SERVER["REQUEST_URI"])): ?>
<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">