mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
case correction, fixes ExceptionRenderer test
This commit is contained in:
parent
d63b4df10c
commit
e95d6a3b10
2 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ class CakeErrorController extends AppController {
|
|||
parent::__construct($request);
|
||||
$this->constructClasses();
|
||||
$this->Components->trigger('initialize', array(&$this));
|
||||
$this->_set(array('cacheAction' => false, 'viewPath' => 'errors'));
|
||||
$this->_set(array('cacheAction' => false, 'viewPath' => 'Errors'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -148,7 +148,7 @@ class ExceptionRenderer {
|
|||
$controller = new CakeErrorController(Router::getRequest(false));
|
||||
} catch (Exception $e) {
|
||||
$controller = new Controller(Router::getRequest(false));
|
||||
$controller->viewPath = 'errors';
|
||||
$controller->viewPath = 'Errors';
|
||||
}
|
||||
return $controller;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue