summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/configuration-example.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/configuration-example.php b/core/configuration-example.php
index 80192cf..1416621 100644
--- a/core/configuration-example.php
+++ b/core/configuration-example.php
@@ -45,7 +45,7 @@ Application::set('TEMPLATE.LANG', Application::get('CORE.LANGUAGE'));
#===============================================================================
# Protocol, hostname and path for this installation
#===============================================================================
-Application::set('PATHINFO.PROT', isset($_SERVER['HTTPS']) ? 'https' : 'http');
+Application::set('PATHINFO.PROT', $_SERVER['REQUEST_SCHEME']);
Application::set('PATHINFO.HOST', $_SERVER['HTTP_HOST']);
Application::set('PATHINFO.BASE', '');