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 27fd11e..c4b40ac 100644
--- a/php/rd-procedures.php
+++ b/php/rd-procedures.php
@@ -1,5 +1,5 @@
 <?php
-$vindex = file($dpath.$mdata[3].'/'.$toc, FILE_IGNORE_NEW_LINES); 
+$vindex = file($dpath.$wsdata[3].'/'.$toc, FILE_IGNORE_NEW_LINES); 
 
 /* 1 parse the URL */
 $vdata = explode('/', $_SERVER['REQUEST_URI']);
@@ -10,6 +10,6 @@ if(!empty($vdata[1]))
     if($vdata[1] == $value)
       $vid = $i;
 
-$vdata = file($dpath.$mdata[3].'/'.$vid, FILE_IGNORE_NEW_LINES);
-$cindex = file($dpath.$mdata[3].'/'.$channel, FILE_IGNORE_NEW_LINES);
+$vdata = file($dpath.$wsdata[3].'/'.$vid, FILE_IGNORE_NEW_LINES);
+$cindex = file($dpath.$wsdata[3].'/'.$channel, FILE_IGNORE_NEW_LINES);
 ?>