Files
nexus/public/index.php
Lars Gebhardt-Kusche 72774c05aa
All checks were successful
Deploy / deploy-staging (push) Successful in 10s
Deploy / deploy-production (push) Has been skipped
adasd
2026-06-07 02:46:36 +02:00

101 lines
2.6 KiB
PHP

<?php
declare(strict_types=1);
http_response_code(503);
header('Content-Type: text/html; charset=utf-8');
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
header('Pragma: no-cache');
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Nexus Wartungstest</title>
<style>
:root {
color-scheme: light;
--bg: #f3efe7;
--panel: #fffdf8;
--text: #1f2933;
--muted: #52606d;
--accent: #b85c38;
--border: #e6dfd2;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
display: grid;
place-items: center;
padding: 24px;
background:
radial-gradient(circle at top left, rgba(184, 92, 56, 0.12), transparent 30%),
linear-gradient(180deg, var(--bg), #ebe4d8);
color: var(--text);
font-family: "Segoe UI", Arial, sans-serif;
}
main {
width: min(680px, 100%);
background: var(--panel);
border: 1px solid var(--border);
border-radius: 18px;
padding: 32px;
box-shadow: 0 24px 60px rgba(31, 41, 51, 0.08);
}
h1 {
margin: 0 0 12px;
font-size: clamp(2rem, 4vw, 3rem);
line-height: 1.05;
}
p {
margin: 0 0 14px;
color: var(--muted);
font-size: 1.05rem;
line-height: 1.6;
}
.badge {
display: inline-block;
margin-bottom: 18px;
padding: 8px 12px;
border-radius: 999px;
background: rgba(184, 92, 56, 0.12);
color: var(--accent);
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
font-size: 0.78rem;
}
.meta {
margin-top: 24px;
padding-top: 18px;
border-top: 1px solid var(--border);
font-family: monospace;
font-size: 0.92rem;
color: var(--muted);
}
</style>
</head>
<body>
<main>
<div class="badge">Wartungstest</div>
<h1>Nexus ist testweise im Wartungsmodus</h1>
<p>Diese Seite wird direkt aus <code>public/index.php</code> ausgeliefert und umgeht die normale App-Initialisierung.</p>
<p>Wenn diese Seite stabil erscheint, liegt das Problem sehr wahrscheinlich in der PHP-Anwendung, in einem Modul oder in deren Abhängigkeiten und nicht in der grundlegenden Webserver-Auslieferung.</p>
<div class="meta">
Testzeit: <?= htmlspecialchars(date('Y-m-d H:i:s T'), ENT_QUOTES, 'UTF-8') ?><br>
Datei: <?= htmlspecialchars(__FILE__, ENT_QUOTES, 'UTF-8') ?>
</div>
</main>
</body>
</html>