]> git.mxchange.org Git - friendica.git/commitdiff
add reliable way to get server version
authorMax Weller <igitt@max-weller.de>
Sat, 23 Jun 2012 20:52:50 +0000 (22:52 +0200)
committerMax Weller <igitt@max-weller.de>
Sat, 23 Jun 2012 20:52:50 +0000 (22:52 +0200)
include/api.php

index 52ae2fd695123adeaf675bb7cc6a1a200852e75d..49286d262c482dd8c6371d01dbbeabf0265866da 100644 (file)
                                '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
+                             )
                        ),
                );