Loading the CakeErrorController

This commit is contained in:
José Lorenzo Rodríguez 2010-12-04 15:11:15 -04:30
parent e3f85ccda8
commit e425b68a86
2 changed files with 1 additions and 1 deletions

View file

@ -141,7 +141,7 @@ class ExceptionRenderer {
*/
protected function _getController($exception) {
static $__previousError = null;
App::import('Controller', 'CakeError');
App::uses('CakeErrorController', 'Controller');
if ($__previousError != $exception) {
$__previousError = $exception;