summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-03-02 15:46:11 +0100
committerRobin Appelman <icewind@owncloud.com>2012-03-02 18:42:57 +0100
commitb621431c1116bb4166d4a89690bdea3a7a17d08c (patch)
treefdb7a266ffc29015b25625985575e25113b938f1 /lib/app.php
parent3b9ce95fc3ebe3ab6ab8a7d47dec679bb9a4453b (diff)
downloadnextcloud-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.php2
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;
}
}