aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/index.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-08-18 22:25:17 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-08-18 22:26:30 +0200
commitf84460c710f528724fac68278361af7fe18e458c (patch)
treea6d8558e8372d4174712cfdd842ff5ae2c17230d /phpBB/install/index.php
parenta48889fed83b007202e76ddf1ba5436eca310df0 (diff)
downloadforums-f84460c710f528724fac68278361af7fe18e458c.tar
forums-f84460c710f528724fac68278361af7fe18e458c.tar.gz
forums-f84460c710f528724fac68278361af7fe18e458c.tar.bz2
forums-f84460c710f528724fac68278361af7fe18e458c.tar.xz
forums-f84460c710f528724fac68278361af7fe18e458c.zip
[feature/request-class] Make use of the is_secure() method
PHPBB3-9716
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)