From cd5546b67d1fec420c6638d99341da0f3937d481 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 11 Feb 2002 02:18:33 +0000 Subject: Repeat after me "Paul is a moron" git-svn-id: file:///svn/phpbb/trunk@2080 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewforum.php | 2 +- 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']); -- cgit v1.2.1