aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Weller <igitt@max-weller.de>2012-06-23 22:52:50 +0200
committerMax Weller <igitt@max-weller.de>2012-06-23 22:52:50 +0200
commite3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36 (patch)
treeb5169c98a3ef72cd995e61fb48013af5f568a03d
parent11b6beae061d0536ea70c01c28a19b16826bfb8e (diff)
downloadvolse-hubzilla-e3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36.tar.gz
volse-hubzilla-e3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36.tar.bz2
volse-hubzilla-e3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36.zip
add reliable way to get server version
-rw-r--r--include/api.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 52ae2fd69..49286d262 100644
--- a/include/api.php
+++ b/include/api.php
@@ -1429,7 +1429,13 @@
'logo' => $logo, 'fancy' => 'true', 'language' => 'en', 'email' => $email, 'broughtby' => '',
'broughtbyurl' => '', 'timezone' => 'UTC', 'closed' => $closed, 'inviteonly' => 'false',
'private' => $private, 'textlimit' => $textlimit, 'sslserver' => $sslserver, 'ssl' => $ssl,
- 'shorturllength' => '30'
+ 'shorturllength' => '30',
+ 'friendica' => array(
+ 'FRIENDICA_PLATFORM' => FRIENDICA_PLATFORM,
+ 'FRIENDICA_VERSION' => FRIENDICA_VERSION,
+ 'DFRN_PROTOCOL_VERSION' => DFRN_PROTOCOL_VERSION,
+ 'DB_UPDATE_VERSION' => DB_UPDATE_VERSION
+ )
),
);