mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
no need to scan non-directories - gives only warnings ;-)
This commit is contained in:
parent
d302dabfa3
commit
e532c973d3
@ -836,7 +836,7 @@ abstract class egw_framework
|
|||||||
$d = dir(EGW_SERVER_ROOT);
|
$d = dir(EGW_SERVER_ROOT);
|
||||||
while (($entry=$d->read()))
|
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'))
|
file_exists($f = EGW_SERVER_ROOT . '/' . $entry .'/setup/setup.inc.php'))
|
||||||
{
|
{
|
||||||
include($f);
|
include($f);
|
||||||
|
Loading…
Reference in New Issue
Block a user