Skip to content

Commit

Permalink
htdocs introduced
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Apr 8, 2013
1 parent 85ce061 commit b4a415d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -159,7 +159,7 @@ private StreamSource getXSLTStreamSource(String path, Repository repo) throws Ex
if(xsltPath != null) {
return new StreamSource(repo.getInputStream(new Path(xsltPath)));
}
File xsltFile = org.wyona.commons.io.FileUtil.file(rtd.getConfigFile().getParentFile().getAbsolutePath(), "xslt" + File.separator + "xml2fo.xsl");
File xsltFile = org.wyona.commons.io.FileUtil.file(rtd.getConfigFile().getParentFile().getAbsolutePath(), "htdocs" + File.separator + "xslt" + File.separator + "xml2fo.xsl");
if (xsltFile.isFile()) {
log.warn("No custom XSLT configured hence fallback to default: " + xsltFile);
return new StreamSource(xsltFile);
Expand Down

0 comments on commit b4a415d

Please sign in to comment.