exception_full.html.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. <?php if (class_exists(\Symfony\Component\HttpKernel\Kernel::class)) { ?>
  20. <header>
  21. <div class="container">
  22. <h1 class="logo"><?= $this->include('assets/images/symfony-logo.svg'); ?> Symfony Exception</h1>
  23. <div class="help-link">
  24. <a href="https://symfony.com/doc/<?= Symfony\Component\HttpKernel\Kernel::VERSION; ?>/index.html">
  25. <span class="icon"><?= $this->include('assets/images/icon-book.svg'); ?></span>
  26. <span class="hidden-xs-down">Symfony</span> Docs
  27. </a>
  28. </div>
  29. <div class="help-link">
  30. <a href="https://symfony.com/support">
  31. <span class="icon"><?= $this->include('assets/images/icon-support.svg'); ?></span>
  32. <span class="hidden-xs-down">Symfony</span> Support
  33. </a>
  34. </div>
  35. </div>
  36. </header>
  37. <?php } ?>
  38. <?= $this->include('views/exception.html.php', $context); ?>
  39. <script>
  40. <?= $this->include('assets/js/exception.js'); ?>
  41. </script>
  42. </body>
  43. </html>
  44. <!-- <?= $_message; ?> -->