From c1d8d7bc9c01949f10c43878440c332576ff6c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 30 Mar 2015 11:25:49 +0000 Subject: [PATCH] typo --- src/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.php b/src/index.php index cbde706..7c1dc8f 100644 --- a/src/index.php +++ b/src/index.php @@ -36,7 +36,7 @@ function checkPath($path, $file) { /** Get Full Page URL */ function pageUrl() { $pageURL = 'http'; - if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} + if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") $pageURL .= "s"; $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"] @@ -167,6 +167,7 @@ function player($video) { /** Show list and preview images of available videos */ function overview() { + global $DIR; ?> Videofilme