1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Media-Manager speed optimization

This commit is contained in:
Cameron
2013-02-23 23:08:30 -08:00
parent a91438f519
commit 231f062e9a
10 changed files with 70 additions and 43 deletions

View File

@@ -27,16 +27,19 @@ e107::coreLan('footer', true);
// DEPRECATED - plugins should load their lans manually
// plugin autoload, will be removed in the future!
// here mostly because of BC reasons
$_plugins = e107::getPref('plug_installed');
if(is_array($_plugins) && count($_plugins) > 0)
if(!deftrue('e_MINIMAL'))
{
$_plugins = array_keys($_plugins);
foreach ($_plugins as $_p)
$_plugins = e107::getPref('plug_installed');
if(is_array($_plugins) && count($_plugins) > 0)
{
e107::loadLanFiles($_p, 'admin');
$_plugins = array_keys($_plugins);
foreach ($_plugins as $_p)
{
e107::loadLanFiles($_p, 'admin');
}
}
}
// Get Icon constants, theme override (theme/templates/admin_icons_template.php) is allowed
include_once(e107::coreTemplatePath('admin_icons'));