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

fix read plugins list

This commit is contained in:
Mzhelskiy Maxim 2011-11-24 07:03:53 +04:00
parent 9c15c19bc6
commit 4dbecb63da

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