errorPage.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!doctype html>
  2. <html class="theme-<?=$config['theme']?>">
  3. <!--
  4. <?=$throwableString?>
  5. -->
  6. <head>
  7. <!-- Hide dumps asap -->
  8. <style>
  9. pre.sf-dump {
  10. display: none !important;
  11. }
  12. </style>
  13. <meta charset="UTF-8">
  14. <meta name="viewport"
  15. content="width=device-width, initial-scale=1.0">
  16. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  17. <meta name="robots" content="noindex, nofollow">
  18. <title><?= $title ?></title>
  19. <?php foreach ($styles as $script): ?>
  20. <link rel="stylesheet" href="<?=$housekeepingEndpoint?>/styles/<?=$script?>">
  21. <?php endforeach; ?>
  22. </head>
  23. <body class="scrollbar-lg">
  24. <script>
  25. window.data = <?=
  26. $jsonEncode([
  27. 'report' => $report,
  28. 'config' => $config,
  29. 'solutions' => $solutions,
  30. 'telescopeUrl' => $telescopeUrl,
  31. 'shareEndpoint' => $shareEndpoint,
  32. 'defaultTab' => $defaultTab,
  33. 'defaultTabProps' => $defaultTabProps,
  34. ])
  35. ?>;
  36. window.tabs = <?=$tabs?>;
  37. </script>
  38. <noscript><pre><?=$throwableString?></pre></noscript>
  39. <div id="app"></div>
  40. <script><?= $getAssetContents('ignition.js') ?></script>
  41. <script>
  42. window.Ignition = window.ignite(window.data);
  43. </script>
  44. <?php foreach ($scripts as $script): ?>
  45. <script src="<?=$housekeepingEndpoint?>/scripts/<?=$script?>"></script>
  46. <?php endforeach; ?>
  47. <script>
  48. Ignition.start();
  49. </script>
  50. <!--
  51. <?=$throwableString?>
  52. -->
  53. </body>
  54. </html>