Commit 0844530a authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

Merge branch '6332-add-an-error-log-when-the-session-is-destroyed' into 'dev'

Resolve "Add an error log when the session is destroyed"

See merge request fusiondirectory/fd!1075
Showing with 1 addition and 0 deletions
+1 -0
......@@ -271,6 +271,7 @@ function gosaRaiseError ($errno, $errstr, $errfile, $errline)
/* Flush in case of fatal errors */
if (preg_match('/^fatal/i', $errstr) || (PHP_ERROR_FATAL == 'TRUE')) {
trigger_error($errstr);
session::destroy('Fatal error');
if (PHP_ERROR_FATAL == 'TRUE') {
$error_collector = str_replace('display: none;', '', $error_collector);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment