This commit is contained in:
2021-05-17 18:33:40 +08:00
parent ffb27f415a
commit ef7efe271c
2 changed files with 6 additions and 4 deletions
+1 -4
View File
@@ -678,10 +678,7 @@ if (!function_exists('sweep')) {
{
$array = [];
foreach (glob($configPath . '/*') as $config) {
$_array = require_once "$config";
if (!is_array($_array)) continue;
$array = array_merge($_array, $array);
$array = array_merge(require_once "$config", $array);
}
return $array;
}