diff options
Diffstat (limited to 'bootstrap/action.php')
| -rw-r--r-- | bootstrap/action.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bootstrap/action.php b/bootstrap/action.php new file mode 100644 index 0000000..e6ce5c6 --- /dev/null +++ b/bootstrap/action.php @@ -0,0 +1,17 @@ +<?php + +if ( ! isset($_GET["page"]) || $_GET["page"] != "action" ){ + header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found"); + exit; +} + +if ( ! isset($_GET["task"]) || $_GET["task"] == "" ){ + header($_SERVER["SERVER_PROTOCOL"] . "400 Wrong Request"); + header("Location: /?page=index"); +} + +switch($_GET["task"]){ + case("login"): + + break; +} |
