summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/aurjson.class.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php
index daa785f2..29fc4244 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -4,11 +4,12 @@
*
* This file contains the AurRPC remote handling class
**/
-if (!extension_loaded('json'))
-{
+if (!extension_loaded('json')) {
dl('json.so');
}
+include_once("aur.inc");
+
/**
* This class defines a remote interface for fetching data
* from the AUR using JSON formatted elements.