From b891cba32f6a169202551a34e3978a1469aadce1 Mon Sep 17 00:00:00 2001 From: messju Date: Thu, 6 Jan 2005 09:18:13 +0000 Subject: [PATCH] added ALLOW_CONSTANTS to list of security_settings-variables --- .../programmers/api-variables/variable-security-settings.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/en/programmers/api-variables/variable-security-settings.xml b/docs/en/programmers/api-variables/variable-security-settings.xml index 6d19a807..4d592290 100644 --- a/docs/en/programmers/api-variables/variable-security-settings.xml +++ b/docs/en/programmers/api-variables/variable-security-settings.xml @@ -18,6 +18,9 @@ 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.