mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 13:21:36 +01:00
- update of getCachedTimestamp()
This commit is contained in:
@@ -38,8 +38,8 @@ class Smarty_Internal_CacheResource_File {
|
||||
*/
|
||||
public function getCachedTimestamp($template)
|
||||
{
|
||||
return @filemtime($template->getCachedFilepath());
|
||||
// return ($template->getCachedFilepath() && file_exists($template->getCachedFilepath())) ? filemtime($template->getCachedFilepath()) : false ;
|
||||
//return @filemtime($template->getCachedFilepath());
|
||||
return ($template->getCachedFilepath() && file_exists($template->getCachedFilepath())) ? filemtime($template->getCachedFilepath()) : false ;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user