|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
-
-
-
- use yii\helpers\Html;
-
- $this->setTitle('La serveur a renvoyé une erreur', 'Erreur');
- ?>
-
- <div class="site-error">
- <div class="alert alert-warning">
- <h2>Erreur <?= $exception->statusCode ?></h2>
- <p><?= 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("Retour à l'accueil", ['site/index'], ['class' => 'btn btn-default']) ?></p>
- </div>
- </div>
|