mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02:00
Api: log on_shutdown() messages to its own log file
This commit is contained in:
parent
b02aa04c8c
commit
bd7b916811
@ -594,6 +594,7 @@ class Egw extends Egw\Base
|
|||||||
if (function_exists('fastcgi_finish_request') && substr($_SERVER['PHP_SELF'], -18) != '/asyncservices.php')
|
if (function_exists('fastcgi_finish_request') && substr($_SERVER['PHP_SELF'], -18) != '/asyncservices.php')
|
||||||
{
|
{
|
||||||
fastcgi_finish_request();
|
fastcgi_finish_request();
|
||||||
|
ini_set('error_log', dirname($GLOBALS['egw_info']['server']['files_dir']) . '/on-shutdown.log');
|
||||||
}
|
}
|
||||||
|
|
||||||
// run all on_shutdown, do NOT stop on exceptions
|
// run all on_shutdown, do NOT stop on exceptions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user