yii2-netdisk/views/site/error.php

30 lines
493 B
PHP
Raw Normal View History

2013-08-10 19:33:24 +08:00
<?php
use yii\helpers\Html;
/**
2013-11-07 02:52:27 +08:00
* @var yii\web\View $this
2013-08-10 19:33:24 +08:00
* @var string $name
* @var string $message
* @var Exception $exception
*/
$this->title = $name;
?>
<div class="site-error">
2013-10-20 04:59:43 +08:00
<h1><?= Html::encode($this->title) ?></h1>
2013-08-10 19:33:24 +08:00
<div class="alert alert-danger">
2013-10-20 04:59:43 +08:00
<?= nl2br(Html::encode($message)) ?>
2013-08-10 19:33:24 +08:00
</div>
<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>
</div>