mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
Fixes #1213 - Auto-language file loading disabled when admin-ui active. Example language-file loading added to plugin-builder.
This commit is contained in:
@@ -142,7 +142,7 @@ e107::coreLan('footer', true);
|
||||
{
|
||||
$_globalLans = e107::pref('core', 'lan_global_list');
|
||||
$_plugins = e107::getPref('plug_installed');
|
||||
if(!empty($_plugins) && !empty($_globalLans) && is_array($_plugins) && count($_plugins) > 0)
|
||||
if(!deftrue('e_ADMIN_UI') && !empty($_plugins) && !empty($_globalLans) && is_array($_plugins) && (count($_plugins) > 0))
|
||||
{
|
||||
$_plugins = array_keys($_plugins);
|
||||
|
||||
|
Reference in New Issue
Block a user