cvs: smarty /libs/core core.assemble_plugin_filepath.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1079028989@cvsserver> |
messju Thu Mar 11 13:16:29 2004 EDT
Modified files:
/smarty/libs/core core.assemble_plugin_filepath.php
Log:
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
http://cvs.php.net/diff.php/smarty/libs/core/core.assemble_plugin_filepath.php?r1=1.7&r2=1.8&ty=u
Index: smarty/libs/core/core.assemble_plugin_filepath.php
diff -u smarty/libs/core/core.assemble_plugin_filepath.php:1.7 smarty/libs/core/core.assemble_plugin_filepath.php:1.8
--- smarty/libs/core/core.assemble_plugin_filepath.php:1.7 Thu Jan 8 08:13:04 2004
+++ smarty/libs/core/core.assemble_plugin_filepath.php Thu Mar 11 13:16:29 2004
@@ -52,7 +52,8 @@
$_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;
}
}
}
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php