aboutsummaryrefslogtreecommitdiffstats
path: root/mod/siteinfo_json.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/siteinfo_json.php')
-rw-r--r--mod/siteinfo_json.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/siteinfo_json.php b/mod/siteinfo_json.php
new file mode 100644
index 000000000..35697917c
--- /dev/null
+++ b/mod/siteinfo_json.php
@@ -0,0 +1,8 @@
+<?php
+
+function siteinfo_json_init(&$a) {
+
+ $data = get_site_info();
+ json_return_and_die($data);
+
+}