cvs: smarty /libs Smarty.class.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1062441732@cvsserver> |
messju Mon Sep 1 14:42:12 2003 EDT
Modified files:
/smarty/libs Smarty.class.php
Log:
re-include cache_paths on multiple calls to fetch() to avoid inconsistencies
at multiple calls to fetch() in one script
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.441 smarty/libs/Smarty.class.php:1.442
--- smarty/libs/Smarty.class.php:1.441 Wed Aug 20 07:23:17 2003
+++ smarty/libs/Smarty.class.php Mon Sep 1 14:42:12 2003
@@ -43,7 +43,7 @@
* @version 2.6.0-RC1-cvs
*/
-/* $Id: Smarty.class.php,v 1.441 2003/08/20 11:23:17 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.442 2003/09/01 18:42:12 messju Exp $ */
/**
* DIR_SEP isn't used anymore, but third party apps might
@@ -1193,7 +1193,7 @@
if(!$this->force_compile
&& file_exists($this->_cache_paths_file)) {
- include_once($this->_cache_paths_file);
+ include($this->_cache_paths_file);
}
$_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(error_reporting() & ~E_NOTICE);
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php