summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/html/rpc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/rpc.php b/web/html/rpc.php
index f94d5bc0..dc3d20b3 100644
--- a/web/html/rpc.php
+++ b/web/html/rpc.php
@@ -1,13 +1,13 @@
<?php
-set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib');
include("aur.inc");
include("aurjson.class.php");
-$rpc_o = new AurJSON();
if ( $_SERVER['REQUEST_METHOD'] == 'GET' ) {
if ( isset($_GET['type']) ) {
+ $rpc_o = new AurJSON();
echo $rpc_o->handle($_GET);
}
else {