mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 03:11:40 +01:00
fixed "to many warnings in error_log", which caused acording to Finjon Kiang to crash apache
This commit is contained in:
parent
d1d4bc610e
commit
93b71ce63d
@ -14,7 +14,6 @@
|
|||||||
$run_by_webserver = !!$_SERVER['PHP_SELF'];
|
$run_by_webserver = !!$_SERVER['PHP_SELF'];
|
||||||
$is_windows = strtoupper(substr(PHP_OS,0,3)) == 'WIN';
|
$is_windows = strtoupper(substr(PHP_OS,0,3)) == 'WIN';
|
||||||
|
|
||||||
|
|
||||||
if ($run_by_webserver)
|
if ($run_by_webserver)
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_info'] = array(
|
$GLOBALS['egw_info'] = array(
|
||||||
@ -363,7 +362,7 @@
|
|||||||
$checks = implode(', ',$checks);
|
$checks = implode(', ',$checks);
|
||||||
|
|
||||||
$icon = $passed_icon;
|
$icon = $passed_icon;
|
||||||
if (($msg = $args['msg']))
|
if (isset($args['msg']) && ($msg = $args['msg']))
|
||||||
{
|
{
|
||||||
$msg .= ': '.$perms."<br />\n";
|
$msg .= ': '.$perms."<br />\n";
|
||||||
}
|
}
|
||||||
@ -371,7 +370,7 @@
|
|||||||
{
|
{
|
||||||
$msg = lang('Checking file-permissions of %1 for %2 %3: %4',$rel_name,$check_not,$checks,$perms)."<br />\n";
|
$msg = lang('Checking file-permissions of %1 for %2 %3: %4',$rel_name,$check_not,$checks,$perms)."<br />\n";
|
||||||
}
|
}
|
||||||
if ($args['error'])
|
if (isset($args['error']) && $args['error'])
|
||||||
{
|
{
|
||||||
$extra_error_msg = "<br />\n".$args['error'];
|
$extra_error_msg = "<br />\n".$args['error'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user