summaryrefslogtreecommitdiffstats
path: root/public_html/api
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-25 11:58:10 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-25 11:58:10 +0100
commit216ff1b095ea1f2a09b1ee4cd45bacbd9e934922 (patch)
treeaec7ffa06e87d51d2dc93df97562ac2289a7bec7 /public_html/api
parent2dee9bb43d2082344b1eb49dae35851406e7f472 (diff)
downloadwebadmin-216ff1b095ea1f2a09b1ee4cd45bacbd9e934922.tar.gz
Replace uses of error_log(), with console() and disable them
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 cecb2f3..b5be580 100644
--- a/public_html/api/index.php
+++ b/public_html/api/index.php
@@ -32,7 +32,7 @@ try {
$postdata = $_SERVER['REQUEST_METHOD'] == 'POST' ? file_get_contents('php://input') : null;
$controller->dispatch($postdata);
} catch(Exception $e) {
- error_log('API Error: ' . $e->getMessage());
+ //console('API Error: ' . $e->getMessage());
$controller->output->error($e->getMessage(), $e->getCode());
}