From 85383e13bbc31a3b0c414e91cce649b3e8ef925f Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Wed, 7 Mar 2012 10:26:40 +0000 Subject: [PATCH] [-] MO : #PSFV-605 - Fix problem with uri render --- modules/gsitemap/gsitemap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gsitemap/gsitemap.php b/modules/gsitemap/gsitemap.php index 3945cecae..1f1265908 100644 --- a/modules/gsitemap/gsitemap.php +++ b/modules/gsitemap/gsitemap.php @@ -365,7 +365,7 @@ XML; $xml = simplexml_load_file($filename); $nbPages = count($xml->url); - $sitemap_uri = 'http://'.rtrim($shop['domain'].$shop['uri'], '/').__PS_BASE_URI__.$info['filename'].'-'.$shop['id_shop'].'.'.$info['extension']; + $sitemap_uri = 'http://'.$shop['domain'].$shop['uri'].$info['filename'].'-'.$shop['id_shop'].'.'.$info['extension']; $this->_html .= '

'.$this->l('Sitemap for: ').$shop['domain'].$shop['uri'].'

'; $this->_html .= '

'.$this->l('Your Google sitemap file is online at the following address:').'