Skip to content
Snippets Groups Projects
Commit b621431c authored by Robin Appelman's avatar Robin Appelman
Browse files

don't try to seach apps in hidden folders

parent 3b9ce95f
No related branches found
No related tags found
No related merge requests found
...@@ -365,7 +365,7 @@ class OC_App{ ...@@ -365,7 +365,7 @@ class OC_App{
$apps=array(); $apps=array();
$dh=opendir(OC::$APPSROOT.'/apps'); $dh=opendir(OC::$APPSROOT.'/apps');
while($file=readdir($dh)){ 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; $apps[]=$file;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment