cakephp/cakephp — pull request #244 by vitormattos (2011-10-12 00:49:21+00:00)
Title: fix in the constructor of the class CakeErrorController that does not run beforeFilter method

CakeErrorController::__construct() method does not perform the beforeFilter method of parent class (AppController).

This makes that after an error, the method beforeRender and view layer, don't has access to information defined in method AppController::beforeFilter().

Use this AppController to reproduce the error:

```php
class AppController extends Controller {

var $components = array('Auth');

function beforeFilter() {
$this->Auth->userModel = 'Usuario';
}

public function beforeRender(){
debug($this->Auth->userModel);
}
}
```