aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-02-11 02:18:33 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-02-11 02:18:33 +0000
commitcd5546b67d1fec420c6638d99341da0f3937d481 (patch)
treed197ac08a6a945df1c969aff49027a07633615b0
parent67d98023355e9e14f88c595bca005243fb2235b4 (diff)
downloadforums-cd5546b67d1fec420c6638d99341da0f3937d481.tar
forums-cd5546b67d1fec420c6638d99341da0f3937d481.tar.gz
forums-cd5546b67d1fec420c6638d99341da0f3937d481.tar.bz2
forums-cd5546b67d1fec420c6638d99341da0f3937d481.tar.xz
forums-cd5546b67d1fec420c6638d99341da0f3937d481.zip
Repeat after me "Paul is a moron"
git-svn-id: file:///svn/phpbb/trunk@2080 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/viewforum.php2
-rw-r--r--phpBB/viewtopic.php2
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']);