summaryrefslogtreecommitdiffstats
path: root/web/html/rpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/rpc.php')
-rw-r--r--web/html/rpc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/html/rpc.php b/web/html/rpc.php
index dc3d20b..399c9ad 100644
--- a/web/html/rpc.php
+++ b/web/html/rpc.php
@@ -2,8 +2,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . '../lib');
-include("aur.inc");
-include("aurjson.class.php");
+include_once("aurjson.class.php");
if ( $_SERVER['REQUEST_METHOD'] == 'GET' ) {
if ( isset($_GET['type']) ) {