aurweb/web/html/404.php
Lukas Fleischer f0be65875b Display an error page if a virtual path doesn't exist
Give user feedback instead of bailing out with an empty HTTP response
body.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2012-10-20 18:28:17 +02:00

14 lines
307 B
PHP

<?php
set_include_path(get_include_path() . PATH_SEPARATOR . '../lib');
html_header( __("Page Not Found") );
?>
<div id="error-page" class="box 404">
<h2>404 - <?= __("Page Not Found") ?></h2>
<p><?= __("Sorry, the page you've requested does not exist.") ?></p>
</div>
<?php
html_footer(AUR_VERSION);