diff options
| author | root | 2014-03-23 00:04:34 +0100 |
|---|---|---|
| committer | root | 2014-03-23 00:04:34 +0100 |
| commit | 293e2d3203d4f473f3239571b5d0237cea26a46b (patch) | |
| tree | 00d4d35d4f69fb127649f07d8b000bd10fec5191 /www/youtube.php | |
| parent | dc083d0685fa36e48f6d9e1ba2895f730a167194 (diff) | |
| download | random-293e2d3203d4f473f3239571b5d0237cea26a46b.tar.gz | |
Completed youtube history for the browser.
Diffstat (limited to 'www/youtube.php')
| -rw-r--r-- | www/youtube.php | 6 |
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"]; } |
