|
- <?php
-
-
-
- use yii\helpers\Html;
-
- $this->setTitle('La serveur a renvoyé une erreur', 'Erreur');
- ?>
-
- <div class="site-error">
- <div class="alert alert-danger">
- <h3>Erreur <?= $exception->statusCode ?></h3>
- <p class="error-message"><?= nl2br(Html::encode($exception->getMessage())) ?></p>
- <p>
- <span class="glyphicon glyphicon-info-sign"></span>
- <?= $this->renderFile('@common/views/error_info.php', [
- 'urlContact' => Yii::$app->urlManagerFrontend->createUrl('site/contact'),
- 'lineBreak' => true
- ]) ?>
- </p>
- </div>
- <div class="actions">
- <p><?= Html::a("<i class=\"bi bi-house-door\"></i> Retour à l'accueil", ['site/index'], ['class' => 'btn btn-secondary']) ?></p>
- </div>
- </div>
|