This commit is contained in:
William 2022-03-02 08:22:15 +01:00
parent 2753e6266a
commit 061947f9a5

View File

@ -46,7 +46,21 @@ class ErrorHandler
http_response_code(500); http_response_code(500);
header_remove(); header_remove();
echo '<style>body { margin: 1rem; background: tomato; font-family: sans; } #error { padding: 1rem; background: white; margin-bottom: 1rem; border: .1rem solid black; } </style>'; echo '<style>';
echo '
body {
margin: 1rem;
background: tomato;
font-family: sans;
}
#error {
padding: 1rem;
background: white;
margin-bottom: 1rem;
border: .1rem solid black;
}
';
echo '</style>';
echo '<h1>Error!!1 (✖﹏✖)</h1>'; echo '<h1>Error!!1 (✖﹏✖)</h1>';
echo '<p>Oisann! Dette var ikke ment å skje. Dersom det vedvarer, vennligst kontakt nettadministratoren.</p>'; echo '<p>Oisann! Dette var ikke ment å skje. Dersom det vedvarer, vennligst kontakt nettadministratoren.</p>';