summary refs log tree commit diff stats
path: root/php/rd-procedures.php
diff options
context:
space:
mode:
authorNaglfar <naglfar@tilde.institute>2021-01-11 00:51:23 +0100
committerNaglfar <naglfar@tilde.institute>2021-01-11 00:51:23 +0100
commit052ea1501ffb841862c340124f1799035c58afc4 (patch)
tree424c919a30db3094ed4e67c0e92b1e3b2024cc41 /php/rd-procedures.php
parentf82a64e24221853176fc1625b1fdba688627e13a (diff)
downloadMightyWVMS-052ea1501ffb841862c340124f1799035c58afc4.tar.gz
Set default content from video index
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 496287d..d2bfe11 100644
--- a/php/rd-procedures.php
+++ b/php/rd-procedures.php
@@ -1,6 +1,9 @@
 <?php
 $vindex = file($dpath.$wsdata[3].'/toc.mvms', FILE_IGNORE_NEW_LINES); 
 
+# default video
+$vid = $vindex[0];
+
 /* 1 parse the URL */
 $vdata = explode('/', $_SERVER['REQUEST_URI']);