summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-12-29 15:24:54 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-12-29 15:24:54 +0100
commit493a29ea884580dba853c1542159b5bf478356ad (patch)
tree2463715037486192660e54c8355b867e5445dd74 /public/index.php
parent8fa78b55ac2327f87d492cf483a7d77b79ae8db0 (diff)
disable api
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php
index cf5ab9cc..24d92b9d 100644
--- a/public/index.php
+++ b/public/index.php
@@ -84,7 +84,9 @@ if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (i
if ($p == "api") {
require_once ('includes/controller/api.php');
- api_controller();
+ error("Api disabled temporily.");
+ redirect(page_link_to('login'));
+ //api_controller();
} elseif ($p == "ical") {
require_once ('includes/pages/user_ical.php');
user_ical();