forked from extern/egroupware
Possible fix for problems with bad php.ini settings.
This commit is contained in:
parent
11563491f8
commit
509b88901b
@ -23,12 +23,12 @@
|
||||
$d = dir(PHPGW_SERVER_ROOT);
|
||||
while($entry=$d->read())
|
||||
{
|
||||
if (!ereg('setup',$entry))
|
||||
if (!ereg('setup',$entry) && is_dir(PHPGW_SERVER_ROOT.'/'.$entry))
|
||||
{
|
||||
$f = PHPGW_SERVER_ROOT . '/' . $entry . '/setup/setup.inc.php';
|
||||
if (file_exists ($f))
|
||||
if (@file_exists ($f))
|
||||
{
|
||||
include($f);
|
||||
@include($f);
|
||||
$setup_info[$entry]['filename'] = $f;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user