1
0
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:
Cameron
2016-04-07 11:43:28 -07:00
parent 6d0aa7cdd9
commit fec43710fe
3 changed files with 9 additions and 2 deletions

View File

@@ -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);