mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Moved CSS for API XSLT to api.xsl, and fixed element names
This commit is contained in:
@@ -5,7 +5,7 @@ $xmlDoc = new DOMDocument("1.0");
|
||||
|
||||
if($data['format'] == "xml") {
|
||||
// Add reference to the XSLT
|
||||
$xsl = $xmlDoc->createProcessingInstruction("xml-stylesheet", "type=\"text/xsl\" href=\"/css/api.xsl\"");
|
||||
$xsl = $xmlDoc->createProcessingInstruction("xml-stylesheet", "type=\"text/xsl\" href=\"".base_url()."css/api.xsl\"");
|
||||
$xmlDoc->appendChild($xsl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user