1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-06 05:07:49 +02:00

Core Improvements: Next Round #79 #80

This commit is contained in:
Awilum
2013-01-08 22:54:02 +02:00
parent 7e71457a2e
commit b4438b5440
23 changed files with 67 additions and 64 deletions

View File

@@ -242,7 +242,7 @@ class ErrorHandler
$error['type'] = get_class($exception);
}
// Write to error log
// @todo Write to error log
/*if () {
Write here
@@ -251,7 +251,7 @@ class ErrorHandler
// Send headers and output
@header('Content-Type: text/html; charset=UTF-8');
if (GELATO_DISPLAY_ERRORS) {
if (GELATO_DISPLAY_ERRORS) {
$error['backtrace'] = $exception->getTrace();
if ($exception instanceof ErrorException) {