aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-23 14:51:20 -0800
committerfriendica <info@friendica.com>2014-11-23 14:51:20 -0800
commit38aa8204cc6aa36edbe3d4106f718819dc71dc7c (patch)
tree49099f5c74f1ca4b96d7c770eae5e8bc1c1c1f82 /mod
parentd191e7c348593d0bd40ac7e5c33bb6b3bb0708bb (diff)
parentbda3346b69f27eb57e391282e1052a52b2baf2ed (diff)
downloadvolse-hubzilla-38aa8204cc6aa36edbe3d4106f718819dc71dc7c.tar.gz
volse-hubzilla-38aa8204cc6aa36edbe3d4106f718819dc71dc7c.tar.bz2
volse-hubzilla-38aa8204cc6aa36edbe3d4106f718819dc71dc7c.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod')
-rw-r--r--mod/siteinfo.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php
index 12598cc12..03e578467 100644
--- a/mod/siteinfo.php
+++ b/mod/siteinfo.php
@@ -1,7 +1,8 @@
<?php
function siteinfo_init(&$a) {
-
+ global $db;
+
if ($a->argv[1]=="json"){
$register_policy = Array('REGISTER_CLOSED', 'REGISTER_APPROVE', 'REGISTER_OPEN');
$directory_mode = Array('DIRECTORY_MODE_NORMAL', 'DIRECTORY_MODE_SECONDARY','DIRECTORY_MODE_PRIMARY', 'DIRECTORY_MODE_STANDALONE');
@@ -71,6 +72,7 @@ function siteinfo_init(&$a) {
'admin' => $admin,
'site_name' => (($site_name) ? $site_name : ''),
'platform' => RED_PLATFORM,
+ 'dbdriver' => $db->getdriver(),
'info' => (($site_info) ? $site_info : ''),
'channels_total' => $channels_total_stat,
'channels_active_halfyear' => $channels_active_halfyear_stat,