diff options
Diffstat (limited to 'lib/init.php')
-rw-r--r-- | lib/init.php | 2 |
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 { |