mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix recursive errors caused by unwritable cache directories.
Fixes #2104
This commit is contained in:
parent
7c5352a6c2
commit
1731b62644
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ class FileEngine extends CacheEngine {
|
|||
try {
|
||||
$this->_File = $path->openFile('c+');
|
||||
} catch (Exception $e) {
|
||||
trigger_error(__d('cake_dev', $e->getMessage()), E_USER_WARNING);
|
||||
trigger_error($e->getMessage(), E_USER_WARNING);
|
||||
return false;
|
||||
}
|
||||
unset($path);
|
||||
|
|
Loading…
Reference in a new issue