// Gsitemap: Add sitemap index url

This commit is contained in:
mDeflotte committed 2012-03-07 16:56:31 +00:00
1 parent c5e2360dfa
commit 86f3779251
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -353,6 +353,10 @@ XML;
if (!$result = Db::getInstance()->executeS($sql))
return '';
$this->_html .= '<h2>'.$this->l('Sitemap index').$shop['domain'].$shop['uri'].'</h2>';
$this->_html .= '<p>'.$this->l('Your Google sitemap file is online at the following address:').'<br />
<a href="'.Tools::getShopDomain(true, true).__PS_BASE_URI__.'sitemap.xml" target="_blank"><b>'.Tools::getShopDomain(true, true).__PS_BASE_URI__.'sitemap.xml</b></a></p><br />';
$info = pathinfo(GSITEMAP_FILE);
foreach ($result as $shop)
{