mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 20:36:38 -04:00
Add cover art database
Co-authored-by: Job Curtis <job.curtis@gmail.com> Co-authored-by: Alex Cabal <alex@standardebooks.org>
This commit is contained in:
parent
74f747df76
commit
6a5c05511a
92 changed files with 3174 additions and 146 deletions
|
@ -1,5 +1,6 @@
|
|||
<?
|
||||
use function Safe\ob_end_clean;
|
||||
use function Safe\ob_start;
|
||||
|
||||
class Template{
|
||||
/**
|
||||
|
@ -34,6 +35,12 @@ class Template{
|
|||
}
|
||||
}
|
||||
|
||||
public static function Emit403(): void{
|
||||
http_response_code(403);
|
||||
include(WEB_ROOT . '/403.php');
|
||||
exit();
|
||||
}
|
||||
|
||||
public static function Emit404(): void{
|
||||
http_response_code(404);
|
||||
include(WEB_ROOT . '/404.php');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue