aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorAndreas Hubel2020-06-07 21:55:33 +0200
committerAndreas Hubel2020-06-07 21:55:33 +0200
commit9fd02c1bfbf7d883b6351b0e0522e51b7cdfd1cf (patch)
tree9ea6fe3037b9c5597b210abcbdba648f78d97ad2 /template
parent433045f405b41ed7560769a8b65ca2ee77c9f876 (diff)
holzhammer...
Diffstat (limited to '')
-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">