mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
added ALLOW_CONSTANTS to list of security_settings-variables
This commit is contained in:
@@ -18,6 +18,9 @@
|
|||||||
tags are permitted in the templates.</para></listitem>
|
tags are permitted in the templates.</para></listitem>
|
||||||
<listitem><para>MODIFIER_FUNCS - This is an array of the names of permitted
|
<listitem><para>MODIFIER_FUNCS - This is an array of the names of permitted
|
||||||
PHP functions used as variable modifiers.</para></listitem>
|
PHP functions used as variable modifiers.</para></listitem>
|
||||||
|
<listitem><para>ALLOW_CONSTANTS - true/false. If set to true, constants via
|
||||||
|
{$smarty.const.name} are allowed in the templates. The defaults is set to
|
||||||
|
"false" for security.</para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
|
Reference in New Issue
Block a user