mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
New language file types: English_global.php (for plugin.xml terms) and English_log.php (for admin-log terms). Auto-detected when present and loaded automatically when needed.
This commit is contained in:
@@ -913,6 +913,13 @@ class pluginManager{
|
||||
foreach($pluginList as $plug)
|
||||
{
|
||||
e107::loadLanFiles($plug['plugin_path'],'admin');
|
||||
|
||||
if($this->action == "avail")
|
||||
{
|
||||
e107::lan($plug['plugin_path'],'global', true); // Load language files.
|
||||
}
|
||||
|
||||
|
||||
|
||||
$_path = e_PLUGIN.$plug['plugin_path'].'/';
|
||||
|
||||
|
Reference in New Issue
Block a user