aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-xphpBB/ucp.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 0c9e055957..9013fb842c 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -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
//