mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 01:00:20 +02:00
Detect and refresh language file lists when scanning plugin directories.
This commit is contained in:
@@ -1571,9 +1571,14 @@ class system_tools
|
||||
|
||||
$plg->buildAddonPrefLists();
|
||||
|
||||
$plgClass = e107::getPlugin();
|
||||
|
||||
|
||||
foreach($plg->getDetected() as $folder)
|
||||
{
|
||||
$plg->load($folder);
|
||||
$plgClass->plugFolder = $folder;
|
||||
$plgClass->XmlLanguageFiles('refresh');
|
||||
|
||||
$name = $plg->getName();
|
||||
$addons = $plg->getAddons();
|
||||
|
Reference in New Issue
Block a user