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.

28 lines
536B

  1. <?php
  2. use yii\helpers\Html;
  3. /* @var $this yii\web\View */
  4. /* @var $name string */
  5. /* @var $message string */
  6. /* @var $exception Exception */
  7. $this->title = $name;
  8. ?>
  9. <div class="site-error">
  10. <h1><?= Html::encode($this->title) ?></h1>
  11. <div class="alert alert-danger">
  12. <?= nl2br(Html::encode($message)) ?>
  13. </div>
  14. <p>
  15. The above error occurred while the Web server was processing your request.
  16. </p>
  17. <p>
  18. Please contact us if you think this is a server error. Thank you.
  19. </p>
  20. </div>