Test fail redirect

This commit is contained in:
Riccardo Di Dato
2016-05-20 19:53:31 +02:00
parent 5f1d87a639
commit d32afc5d37
+1 -1
View File
@@ -17,7 +17,7 @@ if (array_key_exists("id", $_GET)){
// GUIHandler::redirect("articolo.php?id=".$notizia->id);
}
else {
Header( "HTTP/1.1 301 Moved Permanently" );
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404);
Header( "Location: http://www.ifattidinapoli.it");
}
}