mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 23:56:58 +02:00
Moved library loading into class2. Fixes Fontawesome not loading early enough when added via theme.xml (with forum and possibly other parts of e107). Added the FONTAWESOME constant to Paths/Variables debug output.
This commit is contained in:
@@ -1374,6 +1374,15 @@ if(!defined("THEME_LAYOUT"))
|
||||
unset($cusPageDef,$lyout,$cusPagePref,$menus_equery,$deflayout);
|
||||
}
|
||||
|
||||
// Load library dependencies.
|
||||
if(deftrue('e_ADMIN_AREA'))
|
||||
{
|
||||
e107::getTheme('current', true)->loadLibrary();
|
||||
}
|
||||
else
|
||||
{
|
||||
e107::getTheme('current')->loadLibrary();
|
||||
}
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user