Browse Source

Fix recursive errors caused by unwritable cache directories.
Fixes #2104

mark_story 14 years ago
parent
commit
1731b62644
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Cache/Engine/FileEngine.php

+ 1 - 1
lib/Cake/Cache/Engine/FileEngine.php

@@ -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);