aboutsummaryrefslogtreecommitdiff
path: root/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'action.php')
-rw-r--r--action.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/action.php b/action.php
index 2f1bb58..86129ae 100644
--- a/action.php
+++ b/action.php
@@ -1,7 +1,8 @@
<?php
if ( ! isset($_GET["page"]) || $_GET["page"] != "action" ){
header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found");
- ob_clean();
+ $_GET["page"] = "404";
+ require 'index.php';
exit;
}
@@ -11,6 +12,7 @@ if ( ! isset($_GET["task"]) || $_GET["task"] == "" ){
ob_clean();
exit;
}
+$cache = false;
switch($_GET["task"]){
case("login"):