1
0
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:
Cameron
2020-03-03 13:11:48 -08:00
parent eff8293866
commit bc777c7414
2 changed files with 10 additions and 4 deletions

View File

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