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:
messju
2004-03-11 18:16:29 +00:00
parent 60a09056ea
commit 725da561e5

View File

@@ -52,7 +52,8 @@ function smarty_core_assemble_plugin_filepath($params, &$smarty)
$_params = array('file_path' => $_plugin_filepath);
require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.get_include_path.php');
if(smarty_core_get_include_path($_params, $smarty)) {
return $_params['new_file_path'];
$_return = $_params['new_file_path'];
break;
}
}
}