mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
- bugfix removed decrepated register_resource call in smarty_internal_template.php
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
26/05/2010
|
||||||
|
- bugfix removed decrepated register_resource call in smarty_internal_template.php
|
||||||
|
|
||||||
25/05/2010
|
25/05/2010
|
||||||
- rewrite of template function handling to improve speed
|
- rewrite of template function handling to improve speed
|
||||||
- bugfix on file dependency when merge_compiled_includes = true
|
- bugfix on file dependency when merge_compiled_includes = true
|
||||||
|
@@ -712,7 +712,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data {
|
|||||||
if (class_exists($_resource_class, false)) {
|
if (class_exists($_resource_class, false)) {
|
||||||
return new $_resource_class($this->smarty);
|
return new $_resource_class($this->smarty);
|
||||||
} else {
|
} else {
|
||||||
$this->smarty->register_resource($resource_type,
|
$this->smarty->register->resource($resource_type,
|
||||||
array("smarty_resource_{$resource_type}_source",
|
array("smarty_resource_{$resource_type}_source",
|
||||||
"smarty_resource_{$resource_type}_timestamp",
|
"smarty_resource_{$resource_type}_timestamp",
|
||||||
"smarty_resource_{$resource_type}_secure",
|
"smarty_resource_{$resource_type}_secure",
|
||||||
|
Reference in New Issue
Block a user