1
0
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:
Cameron
2021-02-13 18:55:44 -08:00
parent 3bb541a6d9
commit b0300f93bf
6 changed files with 39 additions and 23 deletions

View File

@@ -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();