sukria/Dancer — pull request #739 by leejo (2012-01-31 14:21:01+00:00)
Title: Check for post init changes to TT config vars and reinit Template object if changes detected

We dynamically assign the INCLUDE_PATH for TemplateToolkit, presently this has no affect due to object caching. This change allows runtime changes to the TT engine configuration and will reinit the Template object if there is a change. It retains the caching behaviour - the Template object will only be rebuilt if a config change takes place.