mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing failing cache tests.
This commit is contained in:
parent
d93c8cb200
commit
e29eb1cb03
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue