You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					68 lines
				
				1.2 KiB
			
		
		
			
		
	
	
					68 lines
				
				1.2 KiB
			| 
											14 years ago
										 | <?php
 | ||
|  | /**
 | ||
|  |  * @var \Exception $exception
 | ||
| 
											13 years ago
										 |  * @var \yii\base\ErrorHandler $context
 | ||
| 
											14 years ago
										 |  */
 | ||
| 
											13 years ago
										 | $context = $this->context;
 | ||
| 
											13 years ago
										 | $title = $context->htmlEncode($exception instanceof \yii\base\Exception ? $exception->getName() : get_class($exception));
 | ||
| 
											14 years ago
										 | ?>
 | ||
|  | <!DOCTYPE html>
 | ||
|  | <html>
 | ||
|  | <head>
 | ||
| 
											14 years ago
										 | 	<meta charset="utf-8" />
 | ||
| 
											13 years ago
										 | 	<title><?php echo $title?></title>
 | ||
| 
											14 years ago
										 | 
 | ||
| 
											14 years ago
										 | 	<style>
 | ||
| 
											14 years ago
										 | 	body {
 | ||
|  | 		font: normal 9pt "Verdana";
 | ||
|  | 		color: #000;
 | ||
|  | 		background: #fff;
 | ||
|  | 	}
 | ||
|  | 
 | ||
|  | 	h1 {
 | ||
|  | 		font: normal 18pt "Verdana";
 | ||
|  | 		color: #f00;
 | ||
|  | 		margin-bottom: .5em;
 | ||
|  | 	}
 | ||
|  | 
 | ||
|  | 	h2 {
 | ||
|  | 		font: normal 14pt "Verdana";
 | ||
|  | 		color: #800000;
 | ||
|  | 		margin-bottom: .5em;
 | ||
|  | 	}
 | ||
|  | 
 | ||
|  | 	h3 {
 | ||
|  | 		font: bold 11pt "Verdana";
 | ||
|  | 	}
 | ||
|  | 
 | ||
|  | 	p {
 | ||
|  | 		font: normal 9pt "Verdana";
 | ||
|  | 		color: #000;
 | ||
|  | 	}
 | ||
|  | 
 | ||
|  | 	.version {
 | ||
|  | 		color: gray;
 | ||
|  | 		font-size: 8pt;
 | ||
|  | 		border-top: 1px solid #aaa;
 | ||
|  | 		padding-top: 1em;
 | ||
|  | 		margin-bottom: 1em;
 | ||
|  | 	}
 | ||
|  | 	</style>
 | ||
|  | </head>
 | ||
|  | 
 | ||
|  | <body>
 | ||
| 
											13 years ago
										 | 	<h1><?php echo $title?></h1>
 | ||
| 
											13 years ago
										 | 	<h2><?php echo nl2br($context->htmlEncode($exception->getMessage()))?></h2>
 | ||
| 
											14 years ago
										 | 	<p>
 | ||
|  | 		The above error occurred while the Web server was processing your request.
 | ||
|  | 	</p>
 | ||
|  | 	<p>
 | ||
| 
											14 years ago
										 | 		Please contact us if you think this is a server error. Thank you.
 | ||
| 
											14 years ago
										 | 	</p>
 | ||
|  | 	<div class="version">
 | ||
| 
											14 years ago
										 | 		<?php echo date('Y-m-d H:i:s', time())?>
 | ||
| 
											13 years ago
										 | 		<?php echo YII_DEBUG ? $context->versionInfo : ''?>
 | ||
| 
											14 years ago
										 | 	</div>
 | ||
|  | </body>
 | ||
| 
											13 years ago
										 | </html>
 |