Skip to content

Commit

Permalink
Fix recursive errors caused by unwritable cache directories.
Browse files Browse the repository at this point in the history
Fixes #2104
  • Loading branch information
markstory committed Oct 16, 2011
1 parent 7c5352a commit 1731b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Cache/Engine/FileEngine.php
Expand Up @@ -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);
Expand Down

0 comments on commit 1731b62

Please sign in to comment.