Browse Source

Unlink files with full path.

mark_story 12 years ago
parent
commit
b5edcba309
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Cache/Engine/FileEngine.php

+ 1 - 1
lib/Cake/Cache/Engine/FileEngine.php

@@ -281,7 +281,7 @@ class FileEngine extends CacheEngine {
 				}
 			}
 			if ($file->isFile()) {
-				unlink($file);
+				unlink($file->getRealPath());
 			}
 		}
 	}