aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-24 18:28:37 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-24 18:28:37 +0000
commitcb6bac059f98b6f4a67c6bfb92a4e1cc5e4f359e (patch)
tree8e438fb65db49196f6339af6e4f1ec0b1d90193f
parent1ee807a19f3b5e6351be311152d0cd4aae8051ed (diff)
downloadelgg-cb6bac059f98b6f4a67c6bfb92a4e1cc5e4f359e.tar.gz
elgg-cb6bac059f98b6f4a67c6bfb92a4e1cc5e4f359e.tar.bz2
Addapted to be called from pagehandler
git-svn-id: https://code.elgg.org/elgg/trunk@2120 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--services/api/rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/api/rest.php b/services/api/rest.php
index 543102e38..cee7ebc43 100644
--- a/services/api/rest.php
+++ b/services/api/rest.php
@@ -43,7 +43,7 @@
{
// Authenticated somehow, now execute.
$token = "";
- $params = $_REQUEST;
+ $params = $CONFIG->input;// Use $CONFIG->input instead of $_REQUEST since this is called by the pagehandler
if (isset($params['auth_token'])) $token = $params['auth_token'];
$result = execute_method($method, $params, $token);