diff options
author | Max Weller <igitt@max-weller.de> | 2012-06-23 22:52:50 +0200 |
---|---|---|
committer | Max Weller <igitt@max-weller.de> | 2012-06-23 22:52:50 +0200 |
commit | e3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36 (patch) | |
tree | b5169c98a3ef72cd995e61fb48013af5f568a03d /include | |
parent | 11b6beae061d0536ea70c01c28a19b16826bfb8e (diff) | |
download | volse-hubzilla-e3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36.tar.gz volse-hubzilla-e3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36.tar.bz2 volse-hubzilla-e3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36.zip |
add reliable way to get server version
Diffstat (limited to 'include')
-rw-r--r-- | include/api.php | 8 |
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 + ) ), ); |