mirror of
https://github.com/smarty-php/smarty.git
synced 2026-07-11 10:51:03 +02:00
converted 3 public properties on Template into getters/setters. unified Template creation code. Provided a getter/setter for the has_nocache_code property. Removed the useless DataObject class. Fixed a few tests. Removed the variable-allow-php-templates property from the docs.
This commit is contained in:
@@ -68,7 +68,7 @@ class ClearCompiledTest extends PHPUnit_Smarty
|
||||
foreach ($compile_ids as $compile_id) {
|
||||
$tpl = $this->getSmartyObj()->createTemplate($template, null, $compile_id);
|
||||
$tpl->fetch();
|
||||
$this->_files[$template . '#' . $compile_id] = substr($tpl->compiled->filepath, $directory_length);
|
||||
$this->_files[$template . '#' . $compile_id] = substr($tpl->getCompiled()->filepath, $directory_length);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user