mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-30 04:38:21 +02:00
Remove server string stuff since it's now handled by redirect
git-svn-id: file:///svn/phpbb/trunk@3279 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d54d938117
commit
4d75e2fc09
@ -71,15 +71,6 @@ $user->setup();
|
||||
$auth->acl($user->data);
|
||||
// End session management
|
||||
|
||||
// Set default email variables
|
||||
$script_name = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($config['script_path']));
|
||||
$script_name = ( $script_name != '' ) ? $script_name . '/ucp.'.$phpEx : 'ucp.'.$phpEx;
|
||||
$server_name = trim($config['server_name']);
|
||||
$server_protocol = ( $config['cookie_secure'] ) ? 'https://' : 'http://';
|
||||
$server_port = ( $config['server_port'] <> 80 ) ? ':' . trim($config['server_port']) . '/' : '/';
|
||||
|
||||
$server_url = $server_protocol . $server_name . $server_port . $script_name;
|
||||
|
||||
// -----------------------
|
||||
// Page specific functions
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user