mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
fixed little bug that prevented plugins filepaths that are found in
php's include_path (and not in one of the plugins_dirs) from being cached in the internal plugins-filepath-cache
This commit is contained in:
@@ -52,7 +52,8 @@ function smarty_core_assemble_plugin_filepath($params, &$smarty)
|
|||||||
$_params = array('file_path' => $_plugin_filepath);
|
$_params = array('file_path' => $_plugin_filepath);
|
||||||
require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.get_include_path.php');
|
require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.get_include_path.php');
|
||||||
if(smarty_core_get_include_path($_params, $smarty)) {
|
if(smarty_core_get_include_path($_params, $smarty)) {
|
||||||
return $_params['new_file_path'];
|
$_return = $_params['new_file_path'];
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user