mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
necessary changes...
git-svn-id: file:///svn/phpbb/trunk@8072 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -42,7 +42,7 @@ if (!$auth->acl_get('a_'))
|
||||
|
||||
// We define the admin variables now, because the user is now able to use the admin related features...
|
||||
define('IN_ADMIN', true);
|
||||
$phpbb_admin_path = './';
|
||||
$phpbb_admin_path = (defined('PHPBB_ADMIN_PATH')) ? PHPBB_ADMIN_PATH : './';
|
||||
|
||||
// Some oft used variables
|
||||
$safe_mode = (@ini_get('safe_mode') || @strtolower(ini_get('safe_mode')) == 'on') ? true : false;
|
||||
@@ -204,11 +204,7 @@ function adm_page_footer($copyright_html = true)
|
||||
$template->display('body');
|
||||
|
||||
garbage_collection();
|
||||
|
||||
if (!defined('PHPBB_EMBEDDED'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
exit_handler();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user