[pLog-svn] r6120 - plog/branches/lifetype-1.2/class/cache/Cache_Lite
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Dec 17 17:12:10 EST 2007
Author: jondaley
Date: 2007-12-17 17:12:10 -0500 (Mon, 17 Dec 2007)
New Revision: 6120
Modified:
plog/branches/lifetype-1.2/class/cache/Cache_Lite/Lite.php
Log:
okay, I guess I was wrong. I didn't see this error the whole time I was testing, but now I see it
Modified: plog/branches/lifetype-1.2/class/cache/Cache_Lite/Lite.php
===================================================================
--- plog/branches/lifetype-1.2/class/cache/Cache_Lite/Lite.php 2007-12-17 19:06:46 UTC (rev 6119)
+++ plog/branches/lifetype-1.2/class/cache/Cache_Lite/Lite.php 2007-12-17 22:12:10 UTC (rev 6120)
@@ -577,8 +577,8 @@
*/
function _unlink($file)
{
- if (!@unlink($file)) {
- return $this->raiseError("Cache_Lite : Unable to remove cache: $file !", -3);
+ if (file_exists($file) && !@unlink($file)) {
+ return $this->raiseError('Cache_Lite : Unable to remove cache !', -3);
}
return true;
}
More information about the pLog-svn
mailing list