summaryrefslogtreecommitdiffstats
path: root/lib/init.php
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2007-08-04 22:46:56 +0000
committerxgizzmo <xgizzmo@ampache>2007-08-04 22:46:56 +0000
commitc33a3b72e0cd91a863857f86fffc39141fb60355 (patch)
tree3b9af19db94e168ec9ac42ac53d5e8133739326d /lib/init.php
parent2ebfdf4c29ac9e33b8070243856b48ef665e61a9 (diff)
downloadampache-c33a3b72e0cd91a863857f86fffc39141fb60355.tar.gz
ampache-c33a3b72e0cd91a863857f86fffc39141fb60355.tar.bz2
ampache-c33a3b72e0cd91a863857f86fffc39141fb60355.zip
kill some debug warnings
Diffstat (limited to 'lib/init.php')
-rw-r--r--lib/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init.php b/lib/init.php
index 0f87d82d..ad4a913e 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -37,7 +37,7 @@ require_once $prefix . '/lib/class/config.class.php';
/*
Check to see if this is Http or https
*/
-if ($_SERVER['HTTPS'] == 'on') {
+if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
$http_type = "https://";
}
else {