From b84d8bfbc93be57bf84e03fa4b858edcd5616668 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 14 Apr 2013 22:24:47 -0700 Subject: begin to cut the umbilical --- include/api.php | 8 ++++---- include/enotify.php | 2 +- include/identity.php | 2 +- include/items.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'include') 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 '' . "\r\n" . '' . FRIENDICA_VERSION . '' . "\r\n"; + echo '' . "\r\n" . '' . RED_VERSION . '' . "\r\n"; killme(); } elseif($type === 'json') { header("Content-type: application/json"); - echo '"' . FRIENDICA_VERSION . '"'; + echo '"' . RED_VERSION . '"'; killme(); } } diff --git a/include/enotify.php b/include/enotify.php index c24c15188..f789d9bf1 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -34,7 +34,7 @@ function notification($params) { push_lang($recip['account_language']); // should probably have a channel language $banner = t('Red Notification'); - $product = FRIENDICA_PLATFORM; + $product = RED_PLATFORM; $siteurl = $a->get_baseurl(true); $thanks = t('Thank You,'); $sitename = get_config('system','sitename'); diff --git a/include/identity.php b/include/identity.php index 2b7085e85..c8910c018 100644 --- a/include/identity.php +++ b/include/identity.php @@ -257,7 +257,7 @@ function identity_basic_export($channel_id) { $ret = array(); - $ret['compatibility'] = array('project' => FRIENDICA_PLATFORM, 'version' => FRIENDICA_VERSION, 'database' => DB_UPDATE_VERSION); + $ret['compatibility'] = array('project' => RED_PLATFORM, 'version' => RED_VERSION, 'database' => DB_UPDATE_VERSION); $r = q("select * from channel where channel_id = %d limit 1", intval($channel_id) diff --git a/include/items.php b/include/items.php index 27213b9d2..db00118bc 100755 --- a/include/items.php +++ b/include/items.php @@ -299,7 +299,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0) $salmon = feed_salmonlinks($owner_nick); $atom .= replace_macros($feed_template, array( - '$version' => xmlify(FRIENDICA_VERSION), + '$version' => xmlify(RED_VERSION), '$feed_id' => xmlify($a->get_baseurl() . '/channel/' . $owner_nick), '$feed_title' => xmlify($owner['name']), '$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', 'now' , ATOM_TIME)) , -- cgit v1.2.3