Add Freemarker prefer-file-system-access support

Add a `spring.freemarker.prefer-file-system-access` property and update
FreeMarkerAutoConfiguration to support it.

Fixes gh-2901
This commit is contained in:
cohee016
2015-04-30 20:08:39 -07:00
committed by Phillip Webb
parent 61fc4f3f12
commit d948ec5810
3 changed files with 18 additions and 2 deletions

View File

@@ -197,6 +197,7 @@ content into your application; rather pick only the properties that you need.
spring.freemarker.expose-session-attributes=false
spring.freemarker.expose-spring-macro-helpers=false
spring.freemarker.prefix=
spring.freemarker.prefer-file-system-access=true # prefer file system access for template loading
spring.freemarker.request-context-attribute=
spring.freemarker.settings.*=
spring.freemarker.suffix=.ftl