summaryrefslogtreecommitdiff
path: root/public_html/api
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-12-23 11:41:45 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-12-23 11:41:45 (GMT)
commit7b7b26250580f713edc9aa459ad12abfcaa24ea0 (patch)
treecd246ba8f55f00ba6046da2bb9aa242f4f84d3f1 /public_html/api
parent69169e37f63c2885fe0176b5c7aa7ee2079b814e (diff)
downloadkolab-wap-7b7b26250580f713edc9aa459ad12abfcaa24ea0.tar.gz
Restructure the files that do not belong in public_html to live in lib/
Use lib/Conf.php for configuration Reuse as much of the existing utilities as possible, by sharing the common codebase (i.e. kolab_utils, etc)
Diffstat (limited to 'public_html/api')
-rw-r--r--public_html/api/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public_html/api/index.php b/public_html/api/index.php
index dfde495..54ae2cb 100644
--- a/public_html/api/index.php
+++ b/public_html/api/index.php
@@ -2,7 +2,7 @@
require_once( dirname(__FILE__) . "/../../lib/functions.php");
// init frontend controller
- $controller = new kolab_admin_controller;
+ $controller = new kolab_admin_api_controller;
try {
$postdata = $_SERVER['REQUEST_METHOD'] == 'POST' ? @json_decode(file_get_contents('php://input'), true) : null;