update smarty to 3.1.28-dev which fixes a bug where changes in a template are only visible on the second pageload which is annoying for developing
This commit is contained in:
@@ -21,25 +21,17 @@ class Smarty_Variable
|
||||
* @var boolean
|
||||
*/
|
||||
public $nocache = false;
|
||||
/**
|
||||
* the scope the variable will have (local,parent or root)
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $scope = Smarty::SCOPE_LOCAL;
|
||||
|
||||
/**
|
||||
* create Smarty variable object
|
||||
*
|
||||
* @param mixed $value the value to assign
|
||||
* @param boolean $nocache if true any output of this variable will be not cached
|
||||
* @param int $scope the scope the variable will have (local,parent or root)
|
||||
*/
|
||||
public function __construct($value = null, $nocache = false, $scope = Smarty::SCOPE_LOCAL)
|
||||
public function __construct($value = null, $nocache = false)
|
||||
{
|
||||
$this->value = $value;
|
||||
$this->nocache = $nocache;
|
||||
$this->scope = $scope;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user