1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

- enable admin login if board disabled

- new reply image for pm's (fits better into the style)


git-svn-id: file:///svn/phpbb/trunk@4906 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2004-06-01 17:02:20 +00:00
parent c3717d3808
commit 738c954476
5 changed files with 9 additions and 4 deletions

View File

@@ -33,6 +33,12 @@
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
// This small snippet is required to let admins login if the board is disabled...
if ($_REQUEST['mode'] == 'login')
{
define('IN_LOGIN', true);
}
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . '/includes/functions_user.'.$phpEx);
@@ -273,7 +279,6 @@ switch ($mode)
redirect("index.$phpEx$SID");
}
define('IN_LOGIN', true);
login_box("ucp.$phpEx$SID&mode=login", '', '', true);
$redirect = request_var('redirect', "index.$phpEx$SID");