aboutsummaryrefslogtreecommitdiff
path: root/templates/unhandled_exception.php
blob: b6f16c87b87e72941b6c227ebe0edb8314fb1c05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
$current_page = _('Fehler');

$title = _('Fehler! Bitte wenden Sie sich an Ihren Systemadministrator.');
$details = [htmlReady($exception->getMessage())];

if (Studip\ENV == 'development') {
    $title = "Houston, we've got a problem.";
    $details = [display_exception($exception, true, true)];
}
?>
    <?= MessageBox::exception($title, $details) ?>
    <p>
      <?= _('Zurück zur') ?> <a href="<?= URLHelper::getLink('index.php') ?>"><?= _('Startseite') ?></a>
    </p>