From: Max Weller Date: Sat, 23 Jun 2012 20:52:50 +0000 (+0200) Subject: add reliable way to get server version X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36;p=friendica.git add reliable way to get server version --- diff --git a/include/api.php b/include/api.php index 52ae2fd695..49286d262c 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 + ) ), );