aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_install.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-06-18 14:56:17 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-06-18 14:56:17 +0000
commitbd3c8c50c01ec0344fec1c5a1cef2cf83c4c4ca7 (patch)
treed7117ed789cb9c2c1458d442432ca663a43e84c4 /phpBB/install/install_install.php
parentd3b8612402006e7dc0a2cbf60ea406ec34294b7e (diff)
downloadforums-bd3c8c50c01ec0344fec1c5a1cef2cf83c4c4ca7.tar
forums-bd3c8c50c01ec0344fec1c5a1cef2cf83c4c4ca7.tar.gz
forums-bd3c8c50c01ec0344fec1c5a1cef2cf83c4c4ca7.tar.bz2
forums-bd3c8c50c01ec0344fec1c5a1cef2cf83c4c4ca7.tar.xz
forums-bd3c8c50c01ec0344fec1c5a1cef2cf83c4c4ca7.zip
This fixes a consistancy issue re the ISO language code on install, but there's still a bigger issue related to thsi to look at
git-svn-id: file:///svn/phpbb/trunk@6097 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-xphpBB/install/install_install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index e5c91a04eb..c7f442a65b 100755
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -836,8 +836,8 @@ class install_install extends module
$server_name = ($server_name !== '') ? $server_name : ((!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'));
$server_port = ($server_port !== '') ? $server_port : ((!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT'));
- $server_protocol = ($server_protocol !== '') ? $server_protocol : (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://');
- $cookie_secure = ($cookie_secure !== '') ? $cookie_secure : (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? true : false);
+ $server_protocol = ($server_protocol !== '') ? $server_protocol : ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://');
+ $cookie_secure = ($cookie_secure !== '') ? $cookie_secure : ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? true : false);
foreach ($this->advanced_config_options as $config_key => $vars)