aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/login.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-10-04 13:09:10 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-10-04 13:09:10 +0000
commit30aeac65dccceab18e19318e5981118f150c0647 (patch)
tree409e1a742796ff1c988593c43f19a9533c258742 /phpBB/login.php
parentb5bbc005a51658c7496abdcad9b23e978fb7db68 (diff)
downloadforums-30aeac65dccceab18e19318e5981118f150c0647.tar
forums-30aeac65dccceab18e19318e5981118f150c0647.tar.gz
forums-30aeac65dccceab18e19318e5981118f150c0647.tar.bz2
forums-30aeac65dccceab18e19318e5981118f150c0647.tar.xz
forums-30aeac65dccceab18e19318e5981118f150c0647.zip
Well, here are all my changes ... don't blame me if things break :D
git-svn-id: file:///svn/phpbb/trunk@2923 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/login.php')
-rw-r--r--phpBB/login.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/login.php b/phpBB/login.php
index 30a460d70c..b1c3a9f952 100644
--- a/phpBB/login.php
+++ b/phpBB/login.php
@@ -30,7 +30,7 @@ include($phpbb_root_path . 'common.'.$phpEx);
// Set page ID for session management
//
$userdata = $session->start();
-$acl = new acl($userdata);
+$auth = new auth($userdata);
$session->configure($userdata);
//
@@ -60,13 +60,13 @@ if ( isset($login) || isset($logout) )
//
// Is the board disabled? Are we an admin? No, then back to the index we go
//
- if ( $board_config['board_disable'] && !$acl->get_acl_admin() )
+ if ( $board_config['board_disable'] && !$auth->get_acl_admin() )
{
header($header_location . "index.$phpEx$SID");
exit;
}
- if ( new login($username, $password, $autologin) )
+ if ( !$auth->login($username, $password, $autologin) )
{
$template->assign_vars(array(
'META' => '<meta http-equiv="refresh" content="3;url=' . "login.$phpEx$SID&amp;redirect=$redirect" . '">')