diff options
Diffstat (limited to 'engine/handlers/xml-rpc_handler.php')
| -rw-r--r-- | engine/handlers/xml-rpc_handler.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/handlers/xml-rpc_handler.php b/engine/handlers/xml-rpc_handler.php index 2454c83bc..2ee29e5b7 100644 --- a/engine/handlers/xml-rpc_handler.php +++ b/engine/handlers/xml-rpc_handler.php @@ -10,8 +10,7 @@ * @todo Does this work? */ -require_once("../start.php"); -global $CONFIG; +require_once(dirname(dirname(__FILE__)) . "/start.php"); // Register the error handler error_reporting(E_ALL); @@ -42,4 +41,4 @@ if (!($result instanceof XMLRPCResponse)) { } // Output result -echo elgg_view_page("XML-RPC", elgg_view("xml-rpc/output", array('result' => $result)));
\ No newline at end of file +echo elgg_view_page("XML-RPC", elgg_view("xml-rpc/output", array('result' => $result))); |
