mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
- update of getCachedTimestamp()
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
- Renamed a couple of internal classes
|
- Renamed a couple of internal classes
|
||||||
- code cleanup for merging compiled templates
|
- code cleanup for merging compiled templates
|
||||||
- couple of runtime optimizations (still not all done)
|
- couple of runtime optimizations (still not all done)
|
||||||
|
- update of getCachedTimestamp()
|
||||||
|
|
||||||
12/19/2009
|
12/19/2009
|
||||||
- bugfix on comment lines in config files
|
- bugfix on comment lines in config files
|
||||||
|
@@ -38,8 +38,8 @@ class Smarty_Internal_CacheResource_File {
|
|||||||
*/
|
*/
|
||||||
public function getCachedTimestamp($template)
|
public function getCachedTimestamp($template)
|
||||||
{
|
{
|
||||||
return @filemtime($template->getCachedFilepath());
|
//return @filemtime($template->getCachedFilepath());
|
||||||
// return ($template->getCachedFilepath() && file_exists($template->getCachedFilepath())) ? filemtime($template->getCachedFilepath()) : false ;
|
return ($template->getCachedFilepath() && file_exists($template->getCachedFilepath())) ? filemtime($template->getCachedFilepath()) : false ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user