Commit 8bf0985a authored by matglas86's avatar matglas86 Committed by Dave Reid

Issue #1276232 by matglas86 | Sifro: Fixed invalid XSL URI when using multilingual sitemaps.

parent 5c78eec8
......@@ -60,7 +60,7 @@ class XMLSitemapWriter extends XMLWriter {
* Add the XML stylesheet to the XML page.
*/
public function writeXSL() {
$this->writePi('xml-stylesheet', 'type="text/xsl" href="' . url('sitemap.xsl') . '"');
$this->writePi('xml-stylesheet', 'type="text/xsl" href="' . url('sitemap.xsl', $this->sitemap->uri['options']) . '"');
$this->writeRaw(PHP_EOL);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment