aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers/service_handler.php
diff options
context:
space:
mode:
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