summaryrefslogtreecommitdiffstats
path: root/php/rd-procedures.php
diff options
context:
space:
mode:
authorNaglfar <naglfar@tilde.institute>2021-01-11 20:52:06 +0100
committerNaglfar <naglfar@tilde.institute>2021-01-11 20:52:06 +0100
commit412d6cd0427f54846fe4a809fe1bc20deb7fab98 (patch)
tree602802b4d742407b218ab01ac5277d952b11ccf8 /php/rd-procedures.php
parentbf0d6e35c962691a13c1d6f6e40cf24cf1b31f51 (diff)
downloadMightyWVMS-412d6cd0427f54846fe4a809fe1bc20deb7fab98.tar.gz
Add canonical url
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);
?>