1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 20:31:41 +02:00

Reduced the number of file includes. Only load admin language files when necessary.

This commit is contained in:
Cameron
2015-02-12 13:09:56 -08:00
parent b03abcff1f
commit 6811c479d1
4 changed files with 17 additions and 4 deletions

View File

@@ -825,7 +825,7 @@ class admin_shortcodes
if (is_readable(e_PLUGIN.$plugin_path.'/plugin.xml'))
{
$readFile = $xml->loadXMLfile(e_PLUGIN.$plugin_path.'/plugin.xml', true, true);
e107::loadLanFiles($plugin_path, 'admin');
// e107::loadLanFiles($plugin_path, 'admin');
$eplug_caption = $tp->toHTML($readFile['@attributes']['name'], FALSE, 'defs, emotes_off');
$eplug_conffile = $readFile['administration']['configFile'];
}