mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fix unnecessary loading of core.load_resource_plugin.php
This commit is contained in:
@@ -1702,7 +1702,7 @@ class Smarty
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} elseif (empty($this->_plugins['resource'][$params['resource_type']])) {
|
||||||
$_params = array('type' => $params['resource_type']);
|
$_params = array('type' => $params['resource_type']);
|
||||||
require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_resource_plugin.php');
|
require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_resource_plugin.php');
|
||||||
smarty_core_load_resource_plugin($_params, $this);
|
smarty_core_load_resource_plugin($_params, $this);
|
||||||
|
Reference in New Issue
Block a user