aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-05-30 21:23:14 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-05-30 21:23:14 +0000
commit02cfff60460a4ed286a8a34a9e849bae7178d3e1 (patch)
tree45920ad83dd541c41cd51d23ab9787fba6f00999 /phpBB/posting.php
parent28bfe84209a97a4e3c372e6ecd02a1f57c5a3dc0 (diff)
downloadforums-02cfff60460a4ed286a8a34a9e849bae7178d3e1.tar
forums-02cfff60460a4ed286a8a34a9e849bae7178d3e1.tar.gz
forums-02cfff60460a4ed286a8a34a9e849bae7178d3e1.tar.bz2
forums-02cfff60460a4ed286a8a34a9e849bae7178d3e1.tar.xz
forums-02cfff60460a4ed286a8a34a9e849bae7178d3e1.zip
Some auth updates to posting ... these ones work
git-svn-id: file:///svn/phpbb/trunk@379 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php4
1 files changed, 3 insertions, 1 deletions
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
//