1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 07:54:24 +03:00

func_list_plugins, древний баг

This commit is contained in:
Sergey S Yaglov 2012-01-24 09:51:22 +03:00
parent 42ecd8c36d
commit 56f2eb0924

View file

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