$security_settings

$security_settings

These are used to override or specify the security settings when security is enabled. These are the possible settings:

  • PHP_HANDLING - true/false. If set to true, the $php_handling setting is not checked for security.

  • IF_FUNCS - This is an array of the names of permitted PHP functions in IF statements.

  • INCLUDE_ANY - true/false. If set to true, any template can be included from the file system, regardless of the $secure_dir list.

  • PHP_TAGS - true/false. If set to true, {php}{/php} tags are permitted in the templates.

  • MODIFIER_FUNCS - This is an array of the names of permitted PHP functions used as variable modifiers.

  • 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.

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.