mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-29 18:23:24 +02:00
- added max attribute to for loop
- added security mode allow_super_globals
This commit is contained in:
@@ -76,6 +76,10 @@ class Smarty_Security {
|
||||
*/
|
||||
public $allow_constants = true;
|
||||
/**
|
||||
+ flag if super globals can be accessed from template
|
||||
*/
|
||||
public $allow_super_globals = true;
|
||||
/**
|
||||
+ flag if {php} tag can be executed
|
||||
*/
|
||||
public $allow_php_tag = false;
|
||||
|
||||
Reference in New Issue
Block a user