Skip to content
Permalink
Browse files

Fix recursive errors caused by unwritable cache directories.

Fixes #2104
  • Loading branch information...
markstory committed Oct 16, 2011
1 parent 7c5352a commit 1731b626449fd2b417ee60ee95cb14a23c797ed3
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Cache/Engine/FileEngine.php
@@ -289,7 +289,7 @@ protected function _setKey($key, $createKey = false) {
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);

0 comments on commit 1731b62

Please sign in to comment.
You can’t perform that action at this time.