1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +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

@@ -1052,11 +1052,7 @@ if(!isset($_E107['no_theme']))
}
//echo "\nRun Time: " . number_format(( microtime(true) - $startTime), 4) . " Seconds\n";
// -----------------------------------------------------------------------
if(!isset($_E107['no_menus']))
{
$dbg->logTime('Init Menus');
e107::getMenu()->init();
}
// here we USE the theme
if(!isset($_E107['no_theme']))