don't try to seach apps in hidden folders
This commit is contained in:
parent
3b9ce95fc3
commit
b621431c11
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ class OC_App{
|
|||
$apps=array();
|
||||
$dh=opendir(OC::$APPSROOT.'/apps');
|
||||
while($file=readdir($dh)){
|
||||
if(is_file(OC::$APPSROOT.'/apps/'.$file.'/appinfo/app.php')){
|
||||
if(substr($file,0,1)!='.' and is_file(OC::$APPSROOT.'/apps/'.$file.'/appinfo/app.php')){
|
||||
$apps[]=$file;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue