- bugfix removed decrepated register_resource call in smarty_internal_template.php

This commit is contained in:
Uwe.Tews
2010-05-26 20:35:15 +00:00
parent 063b8bf150
commit 8bf398e22c
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
26/05/2010
- bugfix removed decrepated register_resource call in smarty_internal_template.php
25/05/2010
- rewrite of template function handling to improve speed
- bugfix on file dependency when merge_compiled_includes = true

View File

@@ -712,7 +712,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data {
if (class_exists($_resource_class, false)) {
return new $_resource_class($this->smarty);
} else {
$this->smarty->register_resource($resource_type,
$this->smarty->register->resource($resource_type,
array("smarty_resource_{$resource_type}_source",
"smarty_resource_{$resource_type}_timestamp",
"smarty_resource_{$resource_type}_secure",