mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-06 01:00:54 +02:00
73 lines
2.0 KiB
XML
73 lines
2.0 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision$ -->
|
|
<sect1 id="variable.security.settings">
|
|
<title>$security_settings</title>
|
|
<para>
|
|
These are used to override or specify the security settings when
|
|
<link linkend="variable.security">security is enabled</link>.
|
|
These are the possible settings:
|
|
</para>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<para>
|
|
PHP_HANDLING - true/false. If set to true, the
|
|
<link linkend="variable.php.handling">$php_handling</link>
|
|
setting is not checked for security.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
IF_FUNCS - This is an array of the names of permitted PHP functions in
|
|
<link linkend="language.function.if">IF</link> statements.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
INCLUDE_ANY - true/false. If set to true, any
|
|
template can be included from the file system, regardless of the
|
|
<link linkend="variable.secure.dir">$secure_dir</link> list.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
PHP_TAGS - true/false. If set to true,
|
|
<link linkend="language.function.php">{php}{/php}</link>
|
|
tags are permitted in the templates.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
MODIFIER_FUNCS - This is an array of the names of permitted
|
|
PHP functions used as variable modifiers.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
ALLOW_CONSTANTS - true/false. If set to true, constants via
|
|
<link linkend="language.variables.smarty.const">{$smarty.const.name}</link>
|
|
are allowed in the templates. The defaults is set to
|
|
"false" for security.
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</sect1>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
--> |