rolling back revision 7393

This commit is contained in:
tlw72 2011-02-08 14:28:52 +00:00
parent a8d353dab1
commit 6314a2d00d

View file

@ -63,6 +63,7 @@ public class FreemarkerConfigurationLoader {
return portal.getThemeDir().replaceAll("/$", "");
}
protected Configuration getConfigForTheme(String themeDir) {
// The template loader is theme-specific because it specifies the theme template directory as a location to
@ -125,10 +126,6 @@ public class FreemarkerConfigurationLoader {
log.error("Error setting value for url_escaping_charset.");
}
// auto include setup.ftl which allows for globals to be easily defined in a template that's always included
// used primarily to setup ${bodyClasses} for now
config.addAutoInclude("pageSetup.ftl");
config.setTemplateLoader(getTemplateLoader(config, themeDir));
return config;
@ -163,5 +160,7 @@ public class FreemarkerConfigurationLoader {
log.error("Error creating template loaders");
}
return mtl;
}
}