mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
fix read plugins list
This commit is contained in:
parent
9c15c19bc6
commit
4dbecb63da
|
@ -443,7 +443,7 @@ function func_list_plugins($bAll = false){
|
|||
$aPlugin = array();
|
||||
if($bAll){
|
||||
$aPluginRaw = array();
|
||||
$aPaths = glob("$aPluginRaw/*", GLOB_ONLYDIR);
|
||||
$aPaths = glob("$sPluginsDir/*", GLOB_ONLYDIR);
|
||||
if($aPaths)
|
||||
foreach($aPaths as $sPath){
|
||||
$aPluginRaw[] = basename($sPath);
|
||||
|
|
Loading…
Reference in a new issue