1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-07-31 05:30:09 +02:00

Now sends 404 header as it should #32 when providing a error page

This commit is contained in:
Mikael Roos
2014-08-20 23:54:13 +02:00
parent 9aac0cde8e
commit b2002d0087

View File

@@ -14,7 +14,7 @@
*/
function errorPage($msg)
{
header("Status: 404 Not Found");
header("HTTP/1.0 404 Not Found");
die('img.php say 404: ' . $msg);
}