mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-18 06:14:26 +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();
|
$aPlugin = array();
|
||||||
if($bAll){
|
if($bAll){
|
||||||
$aPluginRaw = array();
|
$aPluginRaw = array();
|
||||||
$aPaths = glob("$aPluginRaw/*", GLOB_ONLYDIR);
|
$aPaths = glob("$sPluginsDir/*", GLOB_ONLYDIR);
|
||||||
if($aPaths)
|
if($aPaths)
|
||||||
foreach($aPaths as $sPath){
|
foreach($aPaths as $sPath){
|
||||||
$aPluginRaw[] = basename($sPath);
|
$aPluginRaw[] = basename($sPath);
|
||||||
|
|
Loading…
Reference in a new issue