mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
Fixed malformed URL in Emails
git-svn-id: file:///svn/phpbb/trunk@2177 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -60,12 +60,12 @@ $start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) :
|
|||||||
//
|
//
|
||||||
// Set default email variables
|
// Set default email variables
|
||||||
//
|
//
|
||||||
$script_name = preg_replace("/^(\/)(.*?)(\/)$/", "\\2", $board_config['script_path']) . '/profile.'.$phpEx;
|
$script_name = preg_replace("/^(\/)(.*?)(\/)$/", "\\2", $board_config['script_path']) . '/groupcp.'.$phpEx;
|
||||||
$server_name = $board_config['server_name'];
|
$server_name = $board_config['server_name'];
|
||||||
$server_protocol = ( $board_config['cookie_secure'] ) ? "https://" : "http://";
|
$server_protocol = ( $board_config['cookie_secure'] ) ? "https://" : "http://";
|
||||||
$server_port = ( $board_config['server_port'] <> 80 ) ? ':' . $board_config['server_port'] . '/' : '/';
|
$server_port = ( $board_config['server_port'] <> 80 ) ? ':' . $board_config['server_port'] . '/' : '/';
|
||||||
|
|
||||||
$server_url = $server_protocol . $script_name . $server_name . $server_port;
|
$server_url = $server_protocol . $server_name . $server_port . $script_name;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Default var values
|
// Default var values
|
||||||
|
Reference in New Issue
Block a user