-
Notifications
You must be signed in to change notification settings - Fork 42
Configuration
Maksim Kochkin edited this page Feb 18, 2015
·
1 revision
This list is based on 0.7.* versions. See the difference in old 0.6.* below.
-
blitz.var_prefix- variable prefix, default is$ -
blitz.tag_open- open tag, default is{{(double brackets are used not to confuse with single CSS brackets) -
blitz.tag_close- close tag, default is}} -
blitz.tag_open_alt- alternative open tag, default is<!--(Note: 5 symbols with space in the end) -
blitz.tag_close_alt- alternative close tag, default is-->(Note: 4 symbols with space in the beginning) -
blitz.comment_open- open comments tag, default is/* -
blitz.comment_close- close comment tag, default is*/ -
blitz.enable_alternative_tags- use 0/1 to disable/enable alternative tags,1by default -
blitz.enable_comments- use 1/0 to enable/disable comments,0by default -
blitz.path- prefix filenames when they don't start with/(UNIX/Linux) or[A-Z]:\(Windows), default is "" (empty string) -
blitz.disable_include- disable includes for true paranoid,0by default -
blitz.remove_spaces_around_context_tags- remove annoying spaces and linebreaks around context tags,1by default -
blitz.warn_context_duplicates- warn if there are contexts with the same name,0by default -
blitz.check_recursion- check recursion, 0/1,1by default -
blitz.charset- charset forescapemethod (used in internal php_escape_html_entities call), "" by default -
blitz.scope_lookup_limit- the depth of "upper stack" lookups when variable is not found in current context scope, default is0
Please note some differences with old 0.6.* versions:
-
blitz.tag_open_altandblitz.tag_close_altwere calledblitz.phpt_ctx_leftandblitz.phpt_ctx_rightcorrespondingly -
blitz.remove_spaces_around_context_tagswas switched off by default -
blitz.comment_open,blitz.comment_close,blitz.enable_alternative_tags,blitz.enable_comments,blitz.charset,blitz.scope_lookup_limitwere added in 0.7.* only.