Browse Source

Fixing failing cache tests.

mark_story 14 years ago
parent
commit
e29eb1cb03
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

@@ -127,7 +127,7 @@ class FileEngine extends CacheEngine {
 		$expires = time() + $duration;
 		$contents = $expires . $lineBreak . $data . $lineBreak;
 
-		if (!$handle = fopen($this->_File->path, 'c')) {
+		if (!$handle = fopen($this->_File->getPathName(), 'c')) {
 		    return false;
 		}