mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
no need to scan non-directories - gives only warnings ;-)
This commit is contained in:
parent
9dfdabe1a3
commit
2add4fe910
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user