mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-21 17:11:53 +02:00
Some auth updates to posting ... these ones work
git-svn-id: file:///svn/phpbb/trunk@379 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -72,7 +72,7 @@ else
|
|||||||
{
|
{
|
||||||
$forum_id = ($HTTP_GET_VARS['forum']) ? $HTTP_GET_VARS['forum'] : $HTTP_POST_VARS['forum'];
|
$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
|
// Start session management
|
||||||
@@ -90,6 +90,7 @@ init_userprefs($userdata);
|
|||||||
|
|
||||||
// This is a quick check to see if it works
|
// This is a quick check to see if it works
|
||||||
// can probably be placed better ...
|
// can probably be placed better ...
|
||||||
|
|
||||||
switch($mode)
|
switch($mode)
|
||||||
{
|
{
|
||||||
case 'newtopic':
|
case 'newtopic':
|
||||||
@@ -130,6 +131,7 @@ if(!$is_auth)
|
|||||||
|
|
||||||
include('includes/page_tail.'.$phpEx);
|
include('includes/page_tail.'.$phpEx);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// End Auth
|
// End Auth
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user