management of unauthorized pages
This commit is contained in:
parent
359d5412d5
commit
e17d870094
|
@ -7,9 +7,6 @@
|
||||||
use \api\core\ModuleResponse;
|
use \api\core\ModuleResponse;
|
||||||
use \manager\ManagerError;
|
use \manager\ManagerError;
|
||||||
|
|
||||||
//var_dump($_POST);
|
|
||||||
//exit();
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************/
|
/*******************************************/
|
||||||
/* DEBUGGER */
|
/* DEBUGGER */
|
||||||
|
@ -39,8 +36,8 @@
|
||||||
|
|
||||||
/* [3] Any other URL -> homepage
|
/* [3] Any other URL -> homepage
|
||||||
=========================================================*/
|
=========================================================*/
|
||||||
$R->get('.+', function(){ header(__REDIRECT__); });
|
$R->get('.+', function(){ http_response_code(417); exit(); });
|
||||||
$R->post('.+', function(){ header(__REDIRECT__); });
|
$R->post('.+', function(){ http_response_code(417); exit(); });
|
||||||
|
|
||||||
|
|
||||||
/* [8] Launch Router
|
/* [8] Launch Router
|
||||||
|
|
Loading…
Reference in New Issue