Skip to content
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, 1 by default
  • blitz.enable_comments - use 1/0 to enable/disable comments, 0 by 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, 0 by default
  • blitz.remove_spaces_around_context_tags - remove annoying spaces and linebreaks around context tags, 1 by default
  • blitz.warn_context_duplicates - warn if there are contexts with the same name, 0 by default
  • blitz.check_recursion - check recursion, 0/1, 1 by default
  • blitz.charset - charset for escape method (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 is 0

Please note some differences with old 0.6.* versions:

  • blitz.tag_open_alt and blitz.tag_close_alt were called blitz.phpt_ctx_left and blitz.phpt_ctx_right correspondingly
  • blitz.remove_spaces_around_context_tags was switched off by default
  • blitz.comment_open, blitz.comment_close, blitz.enable_alternative_tags, blitz.enable_comments, blitz.charset, blitz.scope_lookup_limit were added in 0.7.* only.

Clone this wiki locally