1
0
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:
Cameron
2019-04-11 10:47:50 -07:00
parent 0ac0ab0b21
commit f148e20837
4 changed files with 29 additions and 28 deletions

View File

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