Skip to content

\$config_booleanize {#variable.config.booleanize}

如果设置为 TRUE,则会自动将 配置文件 中的值 on/true/yesoff/false/no 转换为布尔值。这样,您可以在模板中像这样使用这些值:{if #foobar#}...{/if}。如果 foobar 是 ontrueyes{if} 语句将执行。默认值为 TRUE。