mirror of
https://github.com/php/web-bugs.git
synced 2026-03-24 07:42:08 +01:00
27 lines
450 B
PHP
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();
|