mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Fix 404 path
This commit is contained in:
parent
8f33a1021c
commit
68ac986bb5
3 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ try{
|
|||
}
|
||||
catch(\Exception $ex){
|
||||
http_response_code(404);
|
||||
include(SITE_ROOT . '/www/404.php');
|
||||
include(SITE_ROOT . '/web/www/404.php');
|
||||
exit();
|
||||
}
|
||||
?><?= Template::Header(['title' => 'Ebooks by ' . strip_tags($ebooks[0]->AuthorsHtml), 'highlight' => 'ebooks', 'description' => 'All of the Standard Ebooks ebooks by ' . strip_tags($ebooks[0]->AuthorsHtml)]) ?>
|
||||
|
|
|
@ -58,7 +58,7 @@ catch(SeeOtherEbookException $ex){
|
|||
}
|
||||
catch(\Exception $ex){
|
||||
http_response_code(404);
|
||||
include(SITE_ROOT . '/www/404.php');
|
||||
include(SITE_ROOT . '/web/www/404.php');
|
||||
exit();
|
||||
}
|
||||
?><?= Template::Header(['title' => strip_tags($ebook->TitleWithCreditsHtml), 'ogType' => 'book', 'coverUrl' => $ebook->DistCoverUrl, 'highlight' => 'ebooks', 'description' => 'The Standard Ebooks edition of ' . $ebook->Title . ': ' . $ebook->Description, 'jsonld' => $ebook->GenerateJsonLd()]) ?>
|
||||
|
|
|
@ -83,7 +83,7 @@ try{
|
|||
}
|
||||
catch(\Exception $ex){
|
||||
http_response_code(404);
|
||||
include(SITE_ROOT . '/www/404.php');
|
||||
include(SITE_ROOT . '/web/www/404.php');
|
||||
exit();
|
||||
}
|
||||
?><?= Template::Header(['title' => $pageTitle, 'highlight' => 'ebooks', 'description' => $pageDescription]) ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue