Browse Source

Merge branch 'master' of git.yiisoft.com:yii2

tags/2.0.0-beta
Qiang Xue 13 years ago
parent
commit
21a8f40e97
  1. 2
      framework/base/ErrorHandler.php

2
framework/base/ErrorHandler.php

@ -321,7 +321,7 @@ class ErrorHandler extends ApplicationComponent
$view = new View; $view = new View;
$view->owner = $this; $view->owner = $this;
$name = !YII_DEBUG || $exception instanceof HttpException ? $this->errorView : $this->exceptionView; $name = !YII_DEBUG || $exception instanceof HttpException ? $this->errorView : $this->exceptionView;
$view->render($name, array( echo $view->render($name, array(
'exception' => $exception, 'exception' => $exception,
)); ));
} }

Loading…
Cancel
Save