mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +08:00 
			
		
		
		
	Merge branch 'master' of git.yiisoft.com:yii2
This commit is contained in:
		@ -321,7 +321,7 @@ class ErrorHandler extends ApplicationComponent
 | 
			
		||||
		$view = new View;
 | 
			
		||||
		$view->owner = $this;
 | 
			
		||||
		$name = !YII_DEBUG || $exception instanceof HttpException ? $this->errorView : $this->exceptionView;
 | 
			
		||||
		$view->render($name, array(
 | 
			
		||||
		echo $view->render($name, array(
 | 
			
		||||
			'exception' => $exception,
 | 
			
		||||
		));
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user