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:
@@ -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"] == "") {
|
||||
|
||||
Reference in New Issue
Block a user