diff options
-rw-r--r-- | phpBB/viewforum.php | 2 | ||||
-rw-r--r-- | phpBB/viewtopic.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 9b8648140b..1e5d183966 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -102,7 +102,7 @@ if( !$is_auth['auth_read'] || !$is_auth['auth_view'] ) if ( !$userdata['session_logged_in'] ) { $redirect = POST_FORUM_URL . "=$forum_id" . ( ( isset($start) ) ? "&start=$start" : "" ); - header("Location: " . append_sid("posting.$phpEx?redirect=viewforum.$phpEx&$redirect", true)); + header("Location: " . append_sid("login.$phpEx?redirect=viewforum.$phpEx&$redirect", true)); } // // The user is not authed to read this forum ... diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index ee4ab85bdf..3a8e56bef0 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -193,7 +193,7 @@ if( !$is_auth['auth_view'] || !$is_auth['auth_read'] ) { $redirect = ( isset($post_id) ) ? POST_POST_URL . "=$post_id" : POST_TOPIC_URL . "=$topic_id"; $redirect .= ( isset($start) ) ? "&start=$start" : ""; - header("Location: " . append_sid("posting.$phpEx?redirect=viewtopic.$phpEx&$redirect", true)); + header("Location: " . append_sid("login.$phpEx?redirect=viewtopic.$phpEx&$redirect", true)); } $message = ( !$is_auth['auth_view'] ) ? $lang['Topic_post_not_exist'] : sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']); |