mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Changed load order of Menus and Theme Layout detection.
This commit is contained in:
@@ -21,6 +21,14 @@ if(!defined('ADMIN_AREA'))
|
||||
define('ADMIN_AREA', false);
|
||||
}
|
||||
|
||||
e_theme::initThemeLayout();
|
||||
|
||||
if(!isset($_E107['no_menus']))
|
||||
{
|
||||
e107::getDebug()->logTime('Init Menus');
|
||||
e107::getMenu()->init();
|
||||
}
|
||||
|
||||
$e107 = e107::getInstance();
|
||||
$sql = e107::getDb();
|
||||
|
||||
|
Reference in New Issue
Block a user