aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers/service_handler.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-10 01:50:19 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-10 01:50:19 +0000
commitfcaf7ad2e618deb50cbe48d2a4f8256e87878761 (patch)
treeff5d372c372d4cdd60bf9d061515ac3e12038032 /engine/handlers/service_handler.php
parent3cfefb38a8e73f3b712e462fe784782b80edd9f9 (diff)
downloadelgg-fcaf7ad2e618deb50cbe48d2a4f8256e87878761.tar.gz
elgg-fcaf7ad2e618deb50cbe48d2a4f8256e87878761.tar.bz2
introducing a new web services handler
git-svn-id: http://code.elgg.org/elgg/trunk@3651 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/handlers/service_handler.php')
-rw-r--r--engine/handlers/service_handler.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/engine/handlers/service_handler.php b/engine/handlers/service_handler.php
new file mode 100644
index 000000000..51ec2a689
--- /dev/null
+++ b/engine/handlers/service_handler.php
@@ -0,0 +1,20 @@
+<?php
+/**
+ * Elgg web services handler.
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
+
+
+// Load Elgg engine
+define('externalpage',true);
+require_once("../start.php");
+
+// Get input
+$handler = get_input('handler');
+$request = get_input('request');
+
+service_handler($handler, $request); \ No newline at end of file