ソースを参照

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

Renan Gonçalves 14 年 前
コミット
bba66f6506
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lib/Cake/Controller/CakeErrorController.php

+ 1 - 1
lib/Cake/Controller/CakeErrorController.php

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