Changed theme template directory name
This commit is contained in:
parent
a5cc17d7bc
commit
b27617696f
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ public class FreeMarkerHttpServlet extends VitroHttpServlet {
|
||||||
// when theme is switched. BUT this doesn't support (a), only (b), so we have to do it on every request.
|
// when theme is switched. BUT this doesn't support (a), only (b), so we have to do it on every request.
|
||||||
protected final void setTemplateLoader() {
|
protected final void setTemplateLoader() {
|
||||||
|
|
||||||
String themeTemplateDir = context.getRealPath(getThemeDir()) + "/ftl";
|
String themeTemplateDir = context.getRealPath(getThemeDir()) + "/templates";
|
||||||
String vitroTemplateDir = context.getRealPath("/templates/freemarker");
|
String vitroTemplateDir = context.getRealPath("/templates/freemarker");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue