summaryrefslogtreecommitdiffstats
path: root/php/rd-procedures.php
diff options
context:
space:
mode:
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);