Created
February 14, 2012 01:08
-
-
Save augustohp/1822233 to your computer and use it in GitHub Desktop.
Respect\Config example: Twig configuration and instantiation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
view_path = '/app/views' | |
[options] | |
debug = false | |
charset = 'UTF-8' | |
base_template_class = 'Twig_Template' | |
strict_variables = false | |
autoescape = true | |
cache = false | |
auto_reload = null | |
optimizations = -1 | |
; ------------------------------------------------------------ | |
; Respect\Config things, there is no need to change below this | |
[loader Twig_Loader_Filesystem] | |
paths = [view_path] | |
[twig Twig_Environment] | |
loader = [loader] | |
options = [options] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage is like this: