Skip to content

Commit

Permalink
Fixing failing cache tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 14, 2011
1 parent d93c8cb commit e29eb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Cache/Engine/FileEngine.php
Expand Up @@ -127,7 +127,7 @@ public function write($key, $data, $duration) {
$expires = time() + $duration;
$contents = $expires . $lineBreak . $data . $lineBreak;

if (!$handle = fopen($this->_File->path, 'c')) {
if (!$handle = fopen($this->_File->getPathName(), 'c')) {
return false;
}

Expand Down

0 comments on commit e29eb1c

Please sign in to comment.