1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-06 21:26:58 +02:00

Gelato: general updates.

This commit is contained in:
Awilum
2013-01-17 23:18:23 +02:00
parent 33795d5267
commit 6f97bf10e7
2 changed files with 15 additions and 6 deletions

View File

@@ -248,11 +248,8 @@ class ErrorHandler
$error['type'] = get_class($exception);
}
// @todo Write to error log
/*if () {
Write here
}*/
// Write to log
Log::write("{$error['type']}: {$error['message']} in {$error['file']} at line {$error['line']}");
// Send headers and output
@header('Content-Type: text/html; charset=UTF-8');