don't try to seach apps in hidden folders

remotes/origin/stable4
Robin Appelman 2012-03-02 15:46:11 +07:00
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;
}
}