mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
- some bugfixes
- committed coding guidelines as they are at area51 - removed script_path (needs a close inspection later) - removed the need for server_name and server_port - able to define server port/name/protocol and force the user-defined server vars (very handy for proxy setups) git-svn-id: file:///svn/phpbb/trunk@5595 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -59,8 +59,7 @@ function compose_pm($id, $mode, $action)
|
||||
// Was cancel pressed? If so then redirect to the appropriate page
|
||||
if ($cancel || ($current_time - $lastclick < 2 && $submit))
|
||||
{
|
||||
$redirect = "{$phpbb_root_path}ucp.$phpEx$SID&i=pm&mode=view&action=view_message" . (($msg_id) ? "&p=$msg_id" : '');
|
||||
redirect($redirect);
|
||||
redirect("ucp.$phpEx$SID&i=pm&mode=view&action=view_message" . (($msg_id) ? "&p=$msg_id" : ''));
|
||||
}
|
||||
|
||||
$sql = '';
|
||||
|
@@ -294,7 +294,7 @@ function message_options($id, $mode, $global_privmsgs_rules, $global_rule_condit
|
||||
|
||||
if (!$delete_id)
|
||||
{
|
||||
redirect("{$phpbb_root_path}ucp.$phpEx$SID&i=pm&mode=$mode");
|
||||
redirect("ucp.$phpEx$SID&i=pm&mode=$mode");
|
||||
}
|
||||
|
||||
// Do we need to confirm?
|
||||
|
Reference in New Issue
Block a user