diff --git a/lib/app.php b/lib/app.php
index 696b35485bd75c891423bcfbe0d89572caf8d361..f841180ebad299446c9e57147e70c5c80aed9050 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;
 			}
 		}