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