Trigger 404 su articolo non trovato

This commit is contained in:
Riccardo Di Dato
2016-05-20 19:47:49 +02:00
parent 96026fdd7c
commit fa6f4d349a
+1 -1
View File
@@ -17,7 +17,7 @@ if (array_key_exists("id", $_GET)){
// GUIHandler::redirect("articolo.php?id=".$notizia->id);
}
else {
echo "asd";
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404);
}
}