*/
isset($page) || $page = "home"; // default page to show
if (!preg_match("/^[a-zA-Z0-9_\-]+$/", $page)) {
- $page = "home";
+ sleep(5);
+ header("HTTP/1.0 404 Not Found");
+ exit;
}
$page_directory = "pages"; // directory with pages
*/
isset($page) || $page = "home"; // default page to show
if (!preg_match("/^[a-zA-Z0-9_\-]+$/", $page)) {
- $page = "home";
+ sleep(5);
+ header("HTTP/1.0 404 Not Found");
+ exit;
}
$page_directory = "pages"; // directory with pages
*/
isset($page) || $page = "home"; // default page to show
if (!preg_match("/^[a-zA-Z0-9_\-]+$/", $page)) {
- $page = "home";
+ sleep(5);
+ header("HTTP/1.0 404 Not Found");
+ exit;
}
$page_directory = "pages"; // directory with pages