product was a bad string to use because we may require it for e-commerce, and RED_PLATFORM is equally problematic for other reasons.

This commit is contained in:
redmatrix
2015-05-13 16:01:00 -07:00
parent c3c202d650
commit d6f98e6511
11 changed files with 15 additions and 15 deletions

View File

@@ -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"] == "") {