From e3c36dfd1d1fea0b6d3ba6d6b58fcc8ed0c2dd36 Mon Sep 17 00:00:00 2001 From: Max Weller Date: Sat, 23 Jun 2012 22:52:50 +0200 Subject: [PATCH] add reliable way to get server version --- include/api.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 + ) ), ); -- 2.39.5