mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-15 15:09:51 +01:00
swapped compile_id and cache_id in read_cache_file and write_cache_file
This commit is contained in:
@@ -912,7 +912,7 @@ class Smarty
|
||||
$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 @@ class Smarty
|
||||
} 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
|
||||
|
||||
Reference in New Issue
Block a user