error.php 536 Bytes
Newer Older
Qiang Xue committed
1 2 3 4
<?php

use yii\helpers\Html;

5 6 7 8
/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */
Qiang Xue committed
9 10 11 12 13

$this->title = $name;
?>
<div class="site-error">

14
    <h1><?= Html::encode($this->title) ?></h1>
Qiang Xue committed
15

16 17 18
    <div class="alert alert-danger">
        <?= nl2br(Html::encode($message)) ?>
    </div>
Qiang Xue committed
19

20 21 22 23 24 25
    <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>
Qiang Xue committed
26 27

</div>