diff --git a/public_html/index.php b/public_html/index.php index 0f63c20..57dd5f8 100755 --- a/public_html/index.php +++ b/public_html/index.php @@ -7,9 +7,6 @@ use \api\core\ModuleResponse; use \manager\ManagerError; - //var_dump($_POST); - //exit(); - /*******************************************/ /* DEBUGGER */ @@ -39,8 +36,8 @@ /* [3] Any other URL -> homepage =========================================================*/ - $R->get('.+', function(){ header(__REDIRECT__); }); - $R->post('.+', function(){ header(__REDIRECT__); }); + $R->get('.+', function(){ http_response_code(417); exit(); }); + $R->post('.+', function(){ http_response_code(417); exit(); }); /* [8] Launch Router