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.

error.php 446B

8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
12345678910111213141516171819202122
  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 = $exception->getName();
  8. ?>
  9. <div class="site-error">
  10. <h1><?= Html::encode($this->title) ?></h1>
  11. <div class="alert alert-danger">
  12. <?= nl2br(Html::encode($exception->getMessage())) ?>
  13. </div>
  14. <p><?= Html::a("Retour à l'accueil", ['site/index']) ?></p>
  15. </div>