Permalink
Browse files

Removing PHP5.2.6 only mode value, and replacing it with PHP4 & 5 com…

…patible

mode.
  • Loading branch information...
1 parent 9daa969 commit ec79a09d27c340960cef3d6e5363b031d9da8874 @markstory markstory committed Aug 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/cache/file.php
View
@@ -139,7 +139,7 @@ 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->path, 'a')) {
return false;
}

0 comments on commit ec79a09

Please sign in to comment.