xref: /web-bugs/www/error.php (revision 9d47b05f)
1<?php
2
3session_start();
4
5/* The bug system error page */
6
7// Obtain common includes
8require_once '../include/prepend.php';
9
10// If 'id' is passed redirect to the bug page
11$id = !empty($_GET['id']) ? (int) $_GET['id'] : 0;
12if ($id) {
13    redirect("bug.php?id={$id}");
14}
15
16// Authenticate
17bugs_authenticate($user, $pw, $logged_in, $user_flags);
18
19response_header('Bugs :: 404 Not Found');
20
21?>
22<h1>404 Not Found</h1>
23
24<p>Doh.</p>
25
26<?php response_footer();
27