cvs: smarty /docs/en/programmers/api-variables variable-security-settings.xml

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1105003093@cvsserver>
messju		Thu Jan  6 04:18:13 2005 EDT

  Modified files:              
    /smarty/docs/en/programmers/api-variables	
                                             	variable-security-settings.xml 
  Log:
  added ALLOW_CONSTANTS to list of security_settings-variables
  
  
  
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-variables/variable-security-settings.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/api-variables/variable-security-settings.xml
diff -u smarty/docs/en/programmers/api-variables/variable-security-settings.xml:1.1 smarty/docs/en/programmers/api-variables/variable-security-settings.xml:1.2
--- smarty/docs/en/programmers/api-variables/variable-security-settings.xml:1.1	Tue Apr 13 07:39:15 2004
+++ smarty/docs/en/programmers/api-variables/variable-security-settings.xml	Thu Jan  6 04:18:13 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
      <sect1 id="variable.security.settings">
       <title>$security_settings</title>
       <para>
@@ -18,6 +18,9 @@
          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
+         {$smarty.const.name} 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

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.