mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
- bugfix on uninitialized properties in smarty_internal_template
- bugfix on $smarty->disableSecurity()
This commit is contained in:
@@ -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
|
||||
|
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
@@ -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
|
||||
|
Reference in New Issue
Block a user