From 82e4493f4b376a79867c55ab7daa4cbbfedf1bda Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Fri, 18 Oct 2013 15:16:42 -0700 Subject: Fixing config issues when not running in tomcat --- src/com/p4square/grow/frontend/GrowFrontend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/p4square/grow/frontend/GrowFrontend.java') diff --git a/src/com/p4square/grow/frontend/GrowFrontend.java b/src/com/p4square/grow/frontend/GrowFrontend.java index ecb2475..327554e 100644 --- a/src/com/p4square/grow/frontend/GrowFrontend.java +++ b/src/com/p4square/grow/frontend/GrowFrontend.java @@ -67,7 +67,7 @@ public class GrowFrontend extends FMFacade { public synchronized void start() throws Exception { Template errorTemplate = getTemplate("templates/error.ftl"); if (errorTemplate != null) { - ErrorPage.setTemplate(errorTemplate); + ErrorPage.setTemplate(errorTemplate, FreeMarkerPageResource.baseRootObject(getContext())); } super.start(); -- cgit v1.2.3