mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Library config name consistency fix.
This commit is contained in:
@@ -1007,14 +1007,16 @@ class e_library_manager
|
||||
$siteTheme = e107::getPref('sitetheme');
|
||||
$adminTheme = e107::getPref('admintheme');
|
||||
|
||||
|
||||
|
||||
foreach(array($siteTheme, $adminTheme) as $theme)
|
||||
{
|
||||
if(is_readable(e_THEME . $theme . '/theme_library.php')) // we don't use e_XXXX for themes.
|
||||
{
|
||||
e107_require_once(e_THEME . $theme . '/theme_library.php');
|
||||
|
||||
$className = $theme . '_library';
|
||||
if(class_exists($className))
|
||||
$className = 'theme_library';
|
||||
if(class_exists($className)) //@todo replace with e107::callMethod();
|
||||
{
|
||||
$addonClass = new $className();
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
/**
|
||||
* Class bootstrap3_library.
|
||||
*/
|
||||
class bootstrap3_library
|
||||
class theme_library
|
||||
{
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user