Verified Commit 260c9e0d authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

:sparkles: feat(php): Add more logging in trigger error


Add more logging in trigger error

Signed-off-by: Jonathan Swaelens's avatarJonathan Swaelens <jonathan.swaelens@fusiondirectory.org>
Showing with 1 addition and 1 deletion
+1 -1
......@@ -244,7 +244,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);
trigger_error("Source error: " . $errstr . " in " . $errfile . " on line " . $errline);
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