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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user