From 96a5264abd371006c5d338ba55d38b3c5d657d77 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Wed, 18 Feb 2015 23:53:51 +0000 Subject: [PATCH] Actually print last fatal error out --- html/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/index.php b/html/index.php index d801561d0..b2cebb6b7 100755 --- a/html/index.php +++ b/html/index.php @@ -22,7 +22,8 @@ function logErrors($errno, $errstr, $errfile, $errline) { function catchFatal() { $last_error = error_get_last(); if ($last_error['type'] == 1) { - logErrors($last_error['type'],$last_error['message'],$last_error['file'],$last_error['line']); + $log_error = array($last_error['type'],$last_error['message'],$last_error['file'],$last_error['line']); + print_r($log_error); } }