mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-02 14:17:44 +02:00
Now sends 404 header as it should #32 when providing a error page
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
function errorPage($msg)
|
function errorPage($msg)
|
||||||
{
|
{
|
||||||
header("Status: 404 Not Found");
|
header("HTTP/1.0 404 Not Found");
|
||||||
die('img.php say 404: ' . $msg);
|
die('img.php say 404: ' . $msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user