- bugfix on uninitialized properties in smarty_internal_template

- bugfix on $smarty->disableSecurity()
This commit is contained in:
Uwe.Tews
2010-03-09 21:11:21 +00:00
parent 689ee2c73c
commit 5e2bf86e66
3 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
08/03/2010
- bugfix on uninitialized properties in smarty_internal_template
- bugfix on $smarty->disableSecurity()
04/03/2010
- bugfix allow uppercase chars in registered resource names
- bugfix on accessing chained objects of static classes

View File

@@ -466,7 +466,7 @@ class Smarty extends Smarty_Internal_Data {
*/
public function disableSecurity()
{
$this->security = true;
$this->security = false;
}
/**
@@ -762,4 +762,4 @@ function smartyAutoload($class)
}
}
?>
?>

View File

@@ -65,10 +65,10 @@ class Smarty_Internal_Template extends Smarty_Internal_Data {
public $properties = array ('file_dependency' => array(),
'nocache_hash' => '',
'function' => array());
// storage for block data
public $block_data = array();
// required plugins
public $required_plugins = array('compiled' => array(), 'nocache' => array());
public $security = false;
public $saved_modifer = null;
public $smarty = null;
/**
* Create template data object