From e532c973d3b9b255a99fe74df6aa73f16ce32284 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 7 Jun 2011 07:03:21 +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 dd07169cc6..40e73b47f6 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -836,7 +836,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);