cvs: smarty / NEWS /libs Smarty.class.php
| From: | Messju Mohr | Date: | Fri, 21 Mar 2003 09:07:57 +0000 |
| Subject: | cvs: smarty / NEWS /libs Smarty.class.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-489@lists.php.net to get a copy of this message | ||
messju Fri Mar 21 04:07:57 2003 EDT
Modified files:
/smarty NEWS
/smarty/libs Smarty.class.php
Log:
swapped compile_id and cache_id in read_cache_file and write_cache_file
Index: smarty/NEWS
diff -u smarty/NEWS:1.324 smarty/NEWS:1.325
--- smarty/NEWS:1.324 Fri Mar 21 03:20:12 2003
+++ smarty/NEWS Fri Mar 21 04:07:56 2003
@@ -1,3 +1,6 @@
+ - swapped compile_id and cache_id in read_cache_file and write_cache_file
+ (messju)
+ - reverted patch for cache-file-handling (messju)
- made html_radios and html_checkboxes accept "selected" instead
of "checked" optionally. (messju)
- made compile_id ignored in clear_cache, made order of
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.366 smarty/libs/Smarty.class.php:1.367
--- smarty/libs/Smarty.class.php:1.366 Fri Mar 21 03:55:56 2003
+++ smarty/libs/Smarty.class.php Fri Mar 21 04:07:57 2003
@@ -912,7 +912,7 @@
$compile_id = $this->compile_id;
if (isset($cache_id))
- $auto_id = (isset($compile_id)) ? $compile_id . '|' . $cache_id : $cache_id;
+ $auto_id = (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id;
elseif(isset($compile_id))
$auto_id = $compile_id;
else
@@ -2285,7 +2285,7 @@
} else {
// use local cache file
if (isset($cache_id))
- $auto_id = (isset($compile_id)) ? $compile_id . '|' . $cache_id :
$cache_id;
+ $auto_id = (isset($compile_id)) ? $cache_id . '|' . $compile_id :
$cache_id;
elseif(isset($compile_id))
$auto_id = $compile_id;
else