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