diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-01-24 11:17:25 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-01-24 11:17:25 +0100 |
commit | 503b2225f03c5ffe663e4e0955b25daa1bd19cf4 (patch) | |
tree | 666488330ddaeeb02bff5bd674534972aabc69b4 /include/network.php | |
parent | e3a6b0012e95aae8e0572a53ea96ddc915d6eb03 (diff) | |
parent | 304085606fac6ae4fd2d3e29ed44afb4b4e1bc28 (diff) | |
download | volse-hubzilla-503b2225f03c5ffe663e4e0955b25daa1bd19cf4.tar.gz volse-hubzilla-503b2225f03c5ffe663e4e0955b25daa1bd19cf4.tar.bz2 volse-hubzilla-503b2225f03c5ffe663e4e0955b25daa1bd19cf4.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php index 79a8c6578..2ac430e82 100644 --- a/include/network.php +++ b/include/network.php @@ -1579,6 +1579,7 @@ function get_site_info() { $channels_active_halfyear_stat = intval(get_config('system','channels_active_halfyear_stat')); $channels_active_monthly_stat = intval(get_config('system','channels_active_monthly_stat')); $local_posts_stat = intval(get_config('system','local_posts_stat')); + $local_comments_stat = intval(get_config('system','local_comments_stat')); $hide_in_statistics = intval(get_config('system','hide_in_statistics')); $site_expire = intval(get_config('system', 'default_expire_days')); @@ -1612,13 +1613,14 @@ function get_site_info() { 'default_service_restrictions' => $service_class, 'locked_features' => $locked_features, 'admin' => $admin, - 'dbdriver' => DBA::$dba->getdriver(), + 'dbdriver' => DBA::$dba->getdriver() . ' ' . ((ACTIVE_DBTYPE == DBTYPE_POSTGRES) ? 'postgres' : 'mysql'), 'lastpoll' => get_config('system','lastpoll'), 'info' => (($site_info) ? $site_info : ''), 'channels_total' => $channels_total_stat, 'channels_active_halfyear' => $channels_active_halfyear_stat, 'channels_active_monthly' => $channels_active_monthly_stat, 'local_posts' => $local_posts_stat, + 'local_comments' => $local_comments_stat, 'hide_in_statistics' => $hide_in_statistics ]; |