mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-28 20:30:25 +02:00
feat: introduce template engine (#2899)
This commit is contained in:
@@ -317,7 +317,10 @@ final class Configuration
|
||||
*/
|
||||
private static function reportError($message)
|
||||
{
|
||||
header('Content-Type: text/plain', true, 500);
|
||||
die('Configuration error' . PHP_EOL . $message);
|
||||
http_response_code(500);
|
||||
print render('error.html.php', [
|
||||
'message' => "Configuration error: $message",
|
||||
]);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user