summary refs log tree commit diff stats
path: root/php/rd-procedures.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/rd-procedures.php')
-rw-r--r--php/rd-procedures.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/php/rd-procedures.php b/php/rd-procedures.php
index d2bfe11..da53160 100644
--- a/php/rd-procedures.php
+++ b/php/rd-procedures.php
@@ -1,5 +1,5 @@
 <?php
-$vindex = file($dpath.$wsdata[3].'/toc.mvms', FILE_IGNORE_NEW_LINES); 
+$vindex = file($dpath.$wsdata[4].'/toc.mvms', FILE_IGNORE_NEW_LINES); 
 
 # default video
 $vid = $vindex[0];
@@ -13,6 +13,6 @@ if(!empty($vdata[1]))
     if($vdata[1] == $value)
       $vid = $value;
 
-$vdata = file($dpath.$wsdata[3].'/toc/'.$vid, FILE_IGNORE_NEW_LINES);
-$cindex = file($dpath.$wsdata[3].'/'.$channel, FILE_IGNORE_NEW_LINES);
+$vdata = file($dpath.$wsdata[4].'/toc/'.$vid, FILE_IGNORE_NEW_LINES);
+$cindex = file($dpath.$wsdata[4].'/'.$channel, FILE_IGNORE_NEW_LINES);
 ?>