From 725da561e59273c2067105dfc61300ccc1fa47c0 Mon Sep 17 00:00:00 2001 From: messju Date: Thu, 11 Mar 2004 18:16:29 +0000 Subject: [PATCH] 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 --- libs/core/core.assemble_plugin_filepath.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/core/core.assemble_plugin_filepath.php b/libs/core/core.assemble_plugin_filepath.php index c0d9d866..cb8f5441 100644 --- a/libs/core/core.assemble_plugin_filepath.php +++ b/libs/core/core.assemble_plugin_filepath.php @@ -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; } } }