mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing call to deprecated method, using startupProcess() which will initialize components.
This commit is contained in:
parent
8eb913433f
commit
bba66f6506
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class CakeErrorController extends AppController {
|
|||
$this->components[] = 'RequestHandler';
|
||||
}
|
||||
$this->constructClasses();
|
||||
$this->Components->trigger('initialize', array(&$this));
|
||||
$this->startupProcess();
|
||||
|
||||
$this->_set(array('cacheAction' => false, 'viewPath' => 'Errors'));
|
||||
if (isset($this->RequestHandler)) {
|
||||
|
|
Loading…
Reference in a new issue