From b621431c1116bb4166d4a89690bdea3a7a17d08c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 2 Mar 2012 15:46:11 +0100 Subject: don't try to seach apps in hidden folders --- lib/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/app.php') diff --git a/lib/app.php b/lib/app.php index 696b35485bd..f841180ebad 100644 --- a/lib/app.php +++ b/lib/app.php @@ -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; } } -- cgit v1.2.3