error.php 539 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /** @var yii\web\View $this */
  3. /** @var string $name */
  4. /** @var string $message */
  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>