summary refs log tree commit diff stats
path: root/php/rd-procedures.php
diff options
context:
space:
mode:
authorNaglfar <naglfar@tilde.institute>2021-01-12 19:47:21 +0100
committerNaglfar <naglfar@tilde.institute>2021-01-12 19:47:21 +0100
commitf33dd412056f3ee762513d40030f134e7b8ccb9b (patch)
tree30909208870de010b19dbe8f4f90fd4b3dff9b70 /php/rd-procedures.php
parent62caca0d8e0307e7a25ddbd0d560b13235ad19bf (diff)
downloadMightyWVMS-f33dd412056f3ee762513d40030f134e7b8ccb9b.tar.gz
Use video for title only on its own page
Diffstat (limited to 'php/rd-procedures.php')
-rw-r--r--php/rd-procedures.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/php/rd-procedures.php b/php/rd-procedures.php
index 70ba50c..9f4d586 100644
--- a/php/rd-procedures.php
+++ b/php/rd-procedures.php
@@ -10,7 +10,10 @@ $vdata = explode('/', $_SERVER['REQUEST_URI']);
 /* 2 security check */
 if(!empty($vdata[1]))
   if(in_array($vdata[1], $vindex))
+  {
     $vid = $vdata[1];
+    $title = 1;
+  }
 
 $vdata = file($dpath.$wsdata[4].'/toc/'.$vid, FILE_IGNORE_NEW_LINES);
 $cindex = file($dpath.$wsdata[4].'/'.$channel, FILE_IGNORE_NEW_LINES);