mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-12 20:49:50 +00:00
Loading the CakeErrorController
This commit is contained in:
parent
e3f85ccda8
commit
e425b68a86
2 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue