aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/index.php')
-rw-r--r--phpBB/install/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index 9928638fc4..3c1ce359ca 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -433,7 +433,7 @@ class module
// HTTP_HOST is having the correct browser url in most cases...
$server_name = strtolower($request->header('Host', $request->server('SERVER_NAME')));
$server_port = $request->server('SERVER_PORT', 0);
- $secure = ($request->server('HTTPS') == 'on') ? 1 : 0;
+ $secure = $request->is_secure() ? 1 : 0;
$script_name = $request->server('PHP_SELF');
if (!$script_name)