We need to the 404 error since it's lost once nginx redirects to us

This commit is contained in:
Kai Hendry
2015-10-25 18:55:45 +08:00
parent 254f54e389
commit 3ad2aa84e0

View File

@@ -7,6 +7,7 @@ $username = basename($_SERVER["REQUEST_URI"]);
die();
}
}
http_response_code(404);
?>
<img style="width: 20%;" src=/icons/greptweet_birdie.svg>
<h1>Error <?php echo $_SERVER["REQUEST_URI"]; ?></h1>
<h1>404 error <?php echo $_SERVER["REQUEST_URI"]; ?></h1>