RSS initial support
This commit is contained in:
parent
ecdc8241e7
commit
bd1642957c
21 changed files with 329 additions and 161 deletions
|
|
@ -1,12 +0,0 @@
|
|||
<?php
|
||||
namespace Helpers;
|
||||
|
||||
class Error {
|
||||
static public function show(object $meta) {
|
||||
$http_code = $meta->http_code;
|
||||
http_response_code($http_code);
|
||||
|
||||
$latte = Misc::latte();
|
||||
$latte->render(Misc::getView('error'), ['error' => $meta]);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue