You are here

property Smarty::$security in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/smarty/Smarty.class.php \Smarty::security

This enables template security. When enabled, many things are restricted in the templates that normally would go unchecked. This is useful when untrusted parties are editing templates and you want a reasonable level of security. (no direct execution of PHP in templates for example)

Type: boolean

File

includes/moodle/lib/smarty/Smarty.class.php, line 211

Class

Smarty
@package Smarty

Code

var $security = false;