mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Removing PHP5.2.6 only mode value, and replacing it with PHP4 & 5 compatible
mode.
This commit is contained in:
parent
9daa969783
commit
ec79a09d27
1 changed files with 1 additions and 1 deletions
2
cake/libs/cache/file.php
vendored
2
cake/libs/cache/file.php
vendored
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue