mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 20:24:18 +02:00
- bugfix force default debug.tpl to be loaded by the file resource when default_resource_type was modified
This commit is contained in:
@@ -307,7 +307,7 @@ class Smarty_Internal_TemplateCompilerBase {
|
||||
} else {
|
||||
if (isset($this->template->required_plugins['compiled'][$plugin_name][$type])) {
|
||||
$function = $this->template->required_plugins['compiled'][$plugin_name][$type]['function'];
|
||||
} else if (isset($this->template->required_plugins['compiled'][$plugin_name][$type])) {
|
||||
} else if (isset($this->template->required_plugins['nocache'][$plugin_name][$type])) {
|
||||
$this->template->required_plugins['compiled'][$plugin_name][$type] = $this->template->required_plugins['nocache'][$plugin_name][$type];
|
||||
$function = $this->template->required_plugins['compiled'][$plugin_name][$type]['function'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user