aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-14 22:24:47 -0700
committerfriendica <info@friendica.com>2013-04-14 22:24:47 -0700
commitb84d8bfbc93be57bf84e03fa4b858edcd5616668 (patch)
tree378aebd74c0dbd173dfac1f6751672688a44b52a /include/api.php
parente411a4bdc27cd443abf613a0044effb4604223f0 (diff)
downloadvolse-hubzilla-b84d8bfbc93be57bf84e03fa4b858edcd5616668.tar.gz
volse-hubzilla-b84d8bfbc93be57bf84e03fa4b858edcd5616668.tar.bz2
volse-hubzilla-b84d8bfbc93be57bf84e03fa4b858edcd5616668.zip
begin to cut the umbilical
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/api.php b/include/api.php
index 3f01b90af..91c5b419e 100644
--- a/include/api.php
+++ b/include/api.php
@@ -1541,8 +1541,8 @@ require_once('include/security.php');
'private' => $private, 'textlimit' => $textlimit, 'sslserver' => $sslserver, 'ssl' => $ssl,
'shorturllength' => '30',
'friendica' => array(
- 'FRIENDICA_PLATFORM' => FRIENDICA_PLATFORM,
- 'FRIENDICA_VERSION' => FRIENDICA_VERSION,
+ 'RED_PLATFORM' => RED_PLATFORM,
+ 'RED_VERSION' => RED_VERSION,
'ZOT_REVISION' => ZOT_REVISION,
'DB_UPDATE_VERSION' => DB_UPDATE_VERSION
)
@@ -1577,12 +1577,12 @@ require_once('include/security.php');
if($type === 'xml') {
header("Content-type: application/xml");
- echo '<?xml version="1.0" encoding="UTF-8"?>' . "\r\n" . '<version>' . FRIENDICA_VERSION . '</version>' . "\r\n";
+ echo '<?xml version="1.0" encoding="UTF-8"?>' . "\r\n" . '<version>' . RED_VERSION . '</version>' . "\r\n";
killme();
}
elseif($type === 'json') {
header("Content-type: application/json");
- echo '"' . FRIENDICA_VERSION . '"';
+ echo '"' . RED_VERSION . '"';
killme();
}
}