Fixing call to deprecated method, using startupProcess() which will initialize components.

This commit is contained in:
Renan Gonçalves 2012-04-13 15:57:06 +02:00
parent 8eb913433f
commit bba66f6506

View file

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