mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
gah
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9026 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b384952dee
commit
1f84d45740
1 changed files with 1 additions and 1 deletions
|
@ -1118,7 +1118,7 @@ class install_install extends module
|
||||||
|
|
||||||
// HTTP_HOST is having the correct browser url in most cases...
|
// HTTP_HOST is having the correct browser url in most cases...
|
||||||
$server_name = (!empty($_SERVER['HTTP_HOST'])) ? strtolower($_SERVER['HTTP_HOST']) : ((!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'));
|
$server_name = (!empty($_SERVER['HTTP_HOST'])) ? strtolower($_SERVER['HTTP_HOST']) : ((!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'));
|
||||||
$referer = (!empty($_SERVER['HTTP_REFERRER'])) ? strtolower($_SERVER['HTTP_REFERRER']) : getenv('HTTP_REFERRER');
|
$referer = (!empty($_SERVER['HTTP_REFERER'])) ? strtolower($_SERVER['HTTP_REFERER']) : getenv('HTTP_REFERER');
|
||||||
|
|
||||||
// HTTP HOST can carry a port number...
|
// HTTP HOST can carry a port number...
|
||||||
if (strpos($server_name, ':') !== false)
|
if (strpos($server_name, ':') !== false)
|
||||||
|
|
Loading…
Add table
Reference in a new issue