disable api
This commit is contained in:
parent
8fa78b55ac
commit
493a29ea88
|
@ -84,7 +84,9 @@ if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (i
|
||||||
|
|
||||||
if ($p == "api") {
|
if ($p == "api") {
|
||||||
require_once ('includes/controller/api.php');
|
require_once ('includes/controller/api.php');
|
||||||
api_controller();
|
error("Api disabled temporily.");
|
||||||
|
redirect(page_link_to('login'));
|
||||||
|
//api_controller();
|
||||||
} elseif ($p == "ical") {
|
} elseif ($p == "ical") {
|
||||||
require_once ('includes/pages/user_ical.php');
|
require_once ('includes/pages/user_ical.php');
|
||||||
user_ical();
|
user_ical();
|
||||||
|
|
Loading…
Reference in New Issue