mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +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
@ -1,20 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* eGroupWare - Setup Check Installation *
|
* eGroupWare - Setup Check Installation *
|
||||||
* http://www.eGroupWare.org *
|
* http://www.eGroupWare.org *
|
||||||
* -------------------------------------------- *
|
* -------------------------------------------- *
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* This program is free software; you can redistribute it and/or modify it *
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* under the terms of the GNU General Public License as published by the *
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||||
* option) any later version. *
|
* option) any later version. *
|
||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$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