mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
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);
|
$d = dir(PHPGW_SERVER_ROOT);
|
||||||
while($entry=$d->read())
|
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';
|
$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;
|
$setup_info[$entry]['filename'] = $f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user