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

mode.
This commit is contained in:
mark_story 2011-08-25 22:12:33 -04:00
parent 9daa969783
commit ec79a09d27

View file

@ -139,7 +139,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->path, 'a')) {
return false;
}