mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
- fixed bug when using absolute template filepath and caching
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
05/09/2009
|
||||
- fixed bug when using absolute template filepath and caching
|
||||
|
||||
05/08/2009
|
||||
- fixed bug of {nocache} tag in included templates
|
||||
|
||||
|
@@ -169,7 +169,7 @@ class Smarty_Internal_CacheResource_File extends Smarty_Internal_PluginBase {
|
||||
$_cache_dir .= DIRECTORY_SEPARATOR;
|
||||
}
|
||||
|
||||
return $_cache_dir . $_cache_id . $_compile_id . $_filepath . '.' . $resource_name . $this->smarty->php_ext;
|
||||
return $_cache_dir . $_cache_id . $_compile_id . $_filepath . '.' . basename($resource_name) . $this->smarty->php_ext;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user