diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-01 17:02:20 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-01 17:02:20 +0000 |
commit | 738c95447626fe46f58981f4e36000325dddae8b (patch) | |
tree | d0d48d80a9b878ead75a70922cfb8665a942035b /phpBB/ucp.php | |
parent | c3717d38086c0398be439a6dca0db66cea480ee3 (diff) | |
download | forums-738c95447626fe46f58981f4e36000325dddae8b.tar forums-738c95447626fe46f58981f4e36000325dddae8b.tar.gz forums-738c95447626fe46f58981f4e36000325dddae8b.tar.bz2 forums-738c95447626fe46f58981f4e36000325dddae8b.tar.xz forums-738c95447626fe46f58981f4e36000325dddae8b.zip |
- 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
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-x | phpBB/ucp.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php index 35063d6184..bbc77b3ad9 100755 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -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"); |