2013-08-10 19:33:24 +08:00
|
|
|
<?php
|
|
|
|
|
2022-01-15 03:47:17 +08:00
|
|
|
/** @var yii\web\View $this */
|
|
|
|
/** @var string $name */
|
|
|
|
/** @var string $message */
|
|
|
|
/** @var Exception$exception */
|
2013-08-10 19:33:24 +08:00
|
|
|
|
2015-07-09 17:47:20 +08:00
|
|
|
use yii\helpers\Html;
|
|
|
|
|
2013-08-10 19:33:24 +08:00
|
|
|
$this->title = $name;
|
|
|
|
?>
|
|
|
|
<div class="site-error">
|
|
|
|
|
2014-03-16 12:46:16 +08:00
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
2013-08-10 19:33:24 +08:00
|
|
|
|
2014-03-16 12:46:16 +08:00
|
|
|
<div class="alert alert-danger">
|
|
|
|
<?= nl2br(Html::encode($message)) ?>
|
|
|
|
</div>
|
2013-08-10 19:33:24 +08:00
|
|
|
|
2014-03-16 12:46:16 +08:00
|
|
|
<p>
|
|
|
|
The above error occurred while the Web server was processing your request.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Please contact us if you think this is a server error. Thank you.
|
|
|
|
</p>
|
2013-08-10 19:33:24 +08:00
|
|
|
|
|
|
|
</div>
|