Files
archived-web-bugs/www/error.php
2019-05-22 02:41:51 +02:00

27 lines
450 B
PHP

<?php
session_start();
/* The bug system error page */
// Obtain common includes
require_once '../include/prepend.php';
// If 'id' is passed redirect to the bug page
$id = !empty($_GET['id']) ? (int) $_GET['id'] : 0;
if ($id) {
redirect("bug.php?id={$id}");
}
// Authenticate
bugs_authenticate($user, $pw, $logged_in, $user_flags);
response_header('Bugs :: 404 Not Found');
?>
<h1>404 Not Found</h1>
<p>Doh.</p>
<?php response_footer();