diff options
| author | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-18 14:41:40 +0000 |
|---|---|---|
| committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-18 14:41:40 +0000 |
| commit | d3b8612402006e7dc0a2cbf60ea406ec34294b7e (patch) | |
| tree | 0b90ca16e739ccc8304dd78c15132ab5cc6be1d5 /phpBB/install/install_install.php | |
| parent | f9f10be464369053a505b5c4c1de9e29f38247b2 (diff) | |
| download | forums-d3b8612402006e7dc0a2cbf60ea406ec34294b7e.tar forums-d3b8612402006e7dc0a2cbf60ea406ec34294b7e.tar.gz forums-d3b8612402006e7dc0a2cbf60ea406ec34294b7e.tar.bz2 forums-d3b8612402006e7dc0a2cbf60ea406ec34294b7e.tar.xz forums-d3b8612402006e7dc0a2cbf60ea406ec34294b7e.zip | |
Begone damn typo's
git-svn-id: file:///svn/phpbb/trunk@6096 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_install.php')
| -rwxr-xr-x | phpBB/install/install_install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 1e525bc179..e5c91a04eb 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) |
