From 02cfff60460a4ed286a8a34a9e849bae7178d3e1 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 30 May 2001 21:23:14 +0000 Subject: Some auth updates to posting ... these ones work git-svn-id: file:///svn/phpbb/trunk@379 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'phpBB') diff --git a/phpBB/posting.php b/phpBB/posting.php index 7ffffcdc19..5e76326359 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -72,7 +72,7 @@ else { $forum_id = ($HTTP_GET_VARS['forum']) ? $HTTP_GET_VARS['forum'] : $HTTP_POST_VARS['forum']; } -$mode = (isset($HTTP_GET_VARS['mode'])) ? $HTTP_GET_VARS['mode'] : ""; +$mode = (isset($HTTP_GET_VARS['mode'])) ? $HTTP_GET_VARS['mode'] : ( (isset($HTTP_POST_VARS['mode'])) ? $HTTP_POST_VARS['mode'] : ""); // // Start session management @@ -90,6 +90,7 @@ init_userprefs($userdata); // This is a quick check to see if it works // can probably be placed better ... + switch($mode) { case 'newtopic': @@ -130,6 +131,7 @@ if(!$is_auth) include('includes/page_tail.'.$phpEx); } + // // End Auth // -- cgit v1.2.1