summaryrefslogtreecommitdiff
path: root/www/youtube.php
diff options
context:
space:
mode:
authorroot2014-03-23 00:04:34 +0100
committerroot2014-03-23 00:04:34 +0100
commit293e2d3203d4f473f3239571b5d0237cea26a46b (patch)
tree00d4d35d4f69fb127649f07d8b000bd10fec5191 /www/youtube.php
parentdc083d0685fa36e48f6d9e1ba2895f730a167194 (diff)
downloadrandom-293e2d3203d4f473f3239571b5d0237cea26a46b.tar.gz
Completed youtube history for the browser.
Diffstat (limited to 'www/youtube.php')
-rw-r--r--www/youtube.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/youtube.php b/www/youtube.php
index 866ffea..abf0a53 100644
--- a/www/youtube.php
+++ b/www/youtube.php
@@ -1,9 +1,11 @@
<?php
-include("func_youtube.php");
+include("include.php");
if(!isset($_GET["id"])){
- $videoID = start($yt);
+ if(!isset($videoID)){
+ $videoID = start($yt);
+ }
} else {
$videoID = $_GET["id"];
}