aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-13 16:01:00 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-13 16:01:00 -0700
commitd6f98e651170827453a27fec367f0f8059f3a002 (patch)
tree5c982bbde9812fe747648a5890c4be3a3c70a487 /mod
parentc3c202d650506ea3ed3ba9bdb92aae0b065d5e47 (diff)
downloadvolse-hubzilla-d6f98e651170827453a27fec367f0f8059f3a002.tar.gz
volse-hubzilla-d6f98e651170827453a27fec367f0f8059f3a002.tar.bz2
volse-hubzilla-d6f98e651170827453a27fec367f0f8059f3a002.zip
product was a bad string to use because we may require it for e-commerce, and RED_PLATFORM is equally problematic for other reasons.
Diffstat (limited to 'mod')
-rw-r--r--mod/parse_url.php2
-rw-r--r--mod/siteinfo.php2
-rw-r--r--mod/zfinger.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/parse_url.php b/mod/parse_url.php
index b6c0559f9..2a6f7663e 100644
--- a/mod/parse_url.php
+++ b/mod/parse_url.php
@@ -325,7 +325,7 @@ function parse_url_content(&$a) {
// If this is a Red site, use zrl rather than url so they get zids sent to them by default
- if( x($siteinfo,'generator') && (strpos($siteinfo['generator'],RED_PLATFORM . ' ') === 0))
+ if( x($siteinfo,'generator') && (strpos($siteinfo['generator'],PLATFORM_NAME . ' ') === 0))
$template = str_replace('url','zrl',$template);
if($siteinfo["title"] == "") {
diff --git a/mod/siteinfo.php b/mod/siteinfo.php
index 856909a27..b6753f1ab 100644
--- a/mod/siteinfo.php
+++ b/mod/siteinfo.php
@@ -90,7 +90,7 @@ function siteinfo_init(&$a) {
'default_service_restrictions' => $service_class,
'admin' => $admin,
'site_name' => (($site_name) ? $site_name : ''),
- 'platform' => RED_PLATFORM,
+ 'platform' => PLATFORM_NAME,
'dbdriver' => $db->getdriver(),
'lastpoll' => get_config('system','lastpoll'),
'info' => (($site_info) ? $site_info : ''),
diff --git a/mod/zfinger.php b/mod/zfinger.php
index e236a1e73..6b93b3410 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -280,7 +280,7 @@ function zfinger_init(&$a) {
$ret['site']['channels'] = channel_total();
- $ret['site']['version'] = RED_PLATFORM . ' ' . RED_VERSION . '[' . DB_UPDATE_VERSION . ']';
+ $ret['site']['version'] = PLATFORM_NAME . ' ' . RED_VERSION . '[' . DB_UPDATE_VERSION . ']';
$ret['site']['admin'] = get_config('system','admin_email');