From cb6bac059f98b6f4a67c6bfb92a4e1cc5e4f359e Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 24 Sep 2008 18:28:37 +0000 Subject: Addapted to be called from pagehandler git-svn-id: https://code.elgg.org/elgg/trunk@2120 36083f99-b078-4883-b0ff-0f9b5a30f544 --- services/api/rest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services') 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); -- cgit v1.2.3