error.php 536 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /* @var $this yii\web\View */
  3. /* @var $name string */
  4. /* @var $message string */
  5. /* @var $exception Exception */
  6. use yii\helpers\Html;
  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>