From 30aeac65dccceab18e19318e5981118f150c0647 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 4 Oct 2002 13:09:10 +0000 Subject: 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 --- phpBB/login.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/login.php') 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' => '') -- cgit v1.2.1