| 148 |
lars |
1 |
<!-- <?= $_message = sprintf('%s (%d %s)', $exceptionMessage, $statusCode, $statusText); ?> -->
|
|
|
2 |
<!DOCTYPE html>
|
|
|
3 |
<html lang="en">
|
|
|
4 |
<head>
|
|
|
5 |
<meta charset="<?= $this->charset; ?>" />
|
|
|
6 |
<meta name="robots" content="noindex,nofollow" />
|
|
|
7 |
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
|
8 |
<title><?= $_message; ?></title>
|
|
|
9 |
<link rel="icon" type="image/png" href="<?= $this->include('assets/images/favicon.png.base64'); ?>">
|
|
|
10 |
<style><?= $this->include('assets/css/exception.css'); ?></style>
|
|
|
11 |
<style><?= $this->include('assets/css/exception_full.css'); ?></style>
|
|
|
12 |
</head>
|
|
|
13 |
<body>
|
|
|
14 |
<script>
|
|
|
15 |
document.body.classList.add(
|
|
|
16 |
localStorage.getItem('symfony/profiler/theme') || (matchMedia('(prefers-color-scheme: dark)').matches ? 'theme-dark' : 'theme-light')
|
|
|
17 |
);
|
|
|
18 |
</script>
|
|
|
19 |
|
|
|
20 |
<?php if (class_exists(\Symfony\Component\HttpKernel\Kernel::class)) { ?>
|
|
|
21 |
<header>
|
|
|
22 |
<div class="container">
|
|
|
23 |
<h1 class="logo"><?= $this->include('assets/images/symfony-logo.svg'); ?> Symfony Exception</h1>
|
|
|
24 |
|
|
|
25 |
<div class="help-link">
|
|
|
26 |
<a href="https://symfony.com/doc/<?= Symfony\Component\HttpKernel\Kernel::VERSION; ?>/index.html">
|
|
|
27 |
<span class="icon"><?= $this->include('assets/images/icon-book.svg'); ?></span>
|
|
|
28 |
<span class="hidden-xs-down">Symfony</span> Docs
|
|
|
29 |
</a>
|
|
|
30 |
</div>
|
|
|
31 |
</div>
|
|
|
32 |
</header>
|
|
|
33 |
<?php } ?>
|
|
|
34 |
|
|
|
35 |
<?= $this->include('views/exception.html.php', $context); ?>
|
|
|
36 |
|
|
|
37 |
<script>
|
|
|
38 |
<?= $this->include('assets/js/exception.js'); ?>
|
|
|
39 |
</script>
|
|
|
40 |
</body>
|
|
|
41 |
</html>
|
|
|
42 |
<!-- <?= $_message; ?> -->
|