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.
71 lines
1.2 KiB
71 lines
1.2 KiB
13 years ago
|
<?php
|
||
|
/**
|
||
|
* @var \Exception $exception
|
||
|
* @var \yii\base\ErrorHandler $owner
|
||
|
*/
|
||
|
$owner = $this->owner;
|
||
|
?>
|
||
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||
|
<title><?php echo get_class($exception); ?></title>
|
||
|
|
||
|
<style type="text/css">
|
||
|
/*<![CDATA[*/
|
||
|
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>
|
||
|
<h1><?php echo get_class($exception); ?></h1>
|
||
|
<h2><?php echo nl2br($owner->htmlEncode($exception->getMessage()))?> </h2>
|
||
|
<p>
|
||
|
The above error occurred while the Web server was processing your request.
|
||
|
</p>
|
||
|
<p>
|
||
|
If you think this is a server error, please contact us.
|
||
|
</p>
|
||
|
<p>
|
||
|
Thank you.
|
||
|
</p>
|
||
|
<div class="version">
|
||
|
<?php echo date('Y-m-d H:i:s', time()); ?>
|
||
|
<?php echo YII_DEBUG ? $owner->versionInfo : ''; ?>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|