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:
Mario Vavti
2015-12-06 21:09:58 +01:00
parent f2d7083183
commit 26c465ad0c
89 changed files with 5582 additions and 7114 deletions

View File

@@ -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;
}
/**