Commit 5d639cd3 authored by jenlampton's avatar jenlampton Committed by pifagor

Issue #2244449 by Chris Burge, Dave Reid, pifagor, PascalAnimateur,...

Issue #2244449 by Chris Burge, Dave Reid, pifagor, PascalAnimateur, jenlampton, ecvandenberg, philsward, quicksketch, jmdorian, interdruper, millerrs, gaurav.bajpai: Use Protocol-less URL for XSL File
parent 046c34f1
......@@ -117,7 +117,7 @@ class XMLSitemapWriter extends XMLWriter {
*/
public function writeXSL() {
// @codingStandardsIgnoreEnd
$this->writePi('xml-stylesheet', 'type="text/xsl" href="' . $this->getSitemapUrl('sitemap.xsl', array('protocol_relative' => TRUE)) . '"');
$this->writePi('xml-stylesheet', 'type="text/xsl" href="' . $this->getSitemapUrl('sitemap.xsl', array('absolute' => FALSE)) . '"');
$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