Re: cvs: pear /Cache_Lite Lite.php
| From: | Matthew Fonda | Date: | Sun, 17 Apr 2005 19:12:34 +0000 |
| Subject: | Re: cvs: pear /Cache_Lite Lite.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-31241@lists.php.net to get a copy of this message | ||
Fabien MARTY wrote:
Modified files: /pear/Cache_Lite Lite.php Log: avoid a potential error message if cache doesn't exist
@ error suppression is potential for problems, perhaps it would be better to do something like: if (file_exists($this->_file)) { return filemtime($this->_file); } Regards, Matt- return filemtime($this->_file); + return @filemtime($this->_file);