From 6b5cfb41523b6497181eac82d90c6b8e6e5c1e1b 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13920 b9a71923-0436-4b27-9f14-aed3839534dd --- 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:').'