mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 02:10:37 +02:00
Gelato Updates
This commit is contained in:
@@ -288,12 +288,12 @@ class ErrorHandler
|
||||
$error['backtrace'] = self::formatBacktrace($error['backtrace']);
|
||||
$error['highlighted'] = self::highlightCode($error['file'], $error['line']);
|
||||
|
||||
Response::status(500);
|
||||
@header('HTTP/1.1 500 Internal Server Error');
|
||||
include 'Resources/Views/Errors/exception.php';
|
||||
|
||||
} else {
|
||||
|
||||
Response::status(500);
|
||||
@header('HTTP/1.1 500 Internal Server Error');
|
||||
include 'Resources/Views/Errors/production.php';
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user