From d6f98e651170827453a27fec367f0f8059f3a002 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 13 May 2015 16:01:00 -0700 Subject: product was a bad string to use because we may require it for e-commerce, and RED_PLATFORM is equally problematic for other reasons. --- mod/parse_url.php | 2 +- mod/siteinfo.php | 2 +- mod/zfinger.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mod') 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'); -- cgit v1.2.3