diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-03-02 15:46:11 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-03-02 18:42:57 +0100 |
commit | b621431c1116bb4166d4a89690bdea3a7a17d08c (patch) | |
tree | fdb7a266ffc29015b25625985575e25113b938f1 /lib/app.php | |
parent | 3b9ce95fc3ebe3ab6ab8a7d47dec679bb9a4453b (diff) | |
download | nextcloud-server-b621431c1116bb4166d4a89690bdea3a7a17d08c.tar.gz nextcloud-server-b621431c1116bb4166d4a89690bdea3a7a17d08c.zip |
don't try to seach apps in hidden folders
Diffstat (limited to 'lib/app.php')
-rw-r--r-- | lib/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |