diff options
author | Naglfar <naglfar@tilde.institute> | 2021-01-11 00:51:23 +0100 |
---|---|---|
committer | Naglfar <naglfar@tilde.institute> | 2021-01-11 00:51:23 +0100 |
commit | 052ea1501ffb841862c340124f1799035c58afc4 (patch) | |
tree | 424c919a30db3094ed4e67c0e92b1e3b2024cc41 /php/rd-procedures.php | |
parent | f82a64e24221853176fc1625b1fdba688627e13a (diff) | |
download | MightyWVMS-052ea1501ffb841862c340124f1799035c58afc4.tar.gz |
Set default content from video index
Diffstat (limited to 'php/rd-procedures.php')
-rw-r--r-- | php/rd-procedures.php | 3 |
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']); |