From 2add4fe91051a9403279c91eabe719786649c39b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 7 Jun 2011 07:02:08 +0000 Subject: [PATCH] no need to scan non-directories - gives only warnings ;-) --- phpgwapi/inc/class.egw_framework.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index 20fa6fafc3..12d4662409 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -840,7 +840,7 @@ abstract class egw_framework $d = dir(EGW_SERVER_ROOT); while (($entry=$d->read())) { - if ($entry != '..' && !isset($GLOBALS['egw_info']['apps'][$entry]) && + if ($entry != '..' && !isset($GLOBALS['egw_info']['apps'][$entry]) && is_dir(EGW_SERVER_ROOT.'/'.$entry) && file_exists($f = EGW_SERVER_ROOT . '/' . $entry .'/setup/setup.inc.php')) { include($f);