mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 08:39:57 +02:00
Moved old functions out of class2.php.
This commit is contained in:
@@ -22,7 +22,7 @@ $In_e107_Footer = TRUE; // For registered shutdown function
|
||||
global $error_handler,$db_time,$ADMIN_FOOTER;
|
||||
|
||||
// Legacy fix - call header if not already done, mainly fixing left side menus to work proper
|
||||
if(!deftrue('e_ADMIN_UI') && !deftrue('ADMIN_AREA'))
|
||||
if(!deftrue('e_ADMIN_UI') /*&& !deftrue('ADMIN_AREA')*/)
|
||||
{
|
||||
// close the old buffer
|
||||
$content = ob_get_contents();
|
||||
|
@@ -38,9 +38,8 @@ else
|
||||
{
|
||||
define('e_ADMIN_AREA', true);
|
||||
define("USER_AREA", false);
|
||||
// define('ADMIN_AREA', true);
|
||||
// define('ADMIN_AREA', true);
|
||||
// define('USER_AREA', false);
|
||||
define('ADMIN_AREA', true);
|
||||
|
||||
define('e_MENUMANAGER_ACTIVE', false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user