LuminaWebsite/index.php
Maaxxs e57fa0b73c Flatten structure so webroot is the project root instead of public/
Simplifies Plesk/shared-hosting deployment (no need to set a separate
document root subfolder). config.php, includes/ and sql/ are now
protected via .htaccess rules instead of living outside the webroot.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 06:06:56 +02:00

16 lines
565 B
PHP

<?php
require_once __DIR__ . '/includes/bootstrap.php';
$pageTitle = 'Startseite';
include __DIR__ . '/includes/header.php';
?>
<div class="hero">
<h1>Aion2 Gilde</h1>
<p class="text-muted">Die Homepage folgt in Kuerze. Mitglieder gelangen ueber den Login in den Mitgliederbereich.</p>
<?php if (!current_user()): ?>
<p><a class="button" href="/login.php">Zum Login</a></p>
<?php else: ?>
<p><a class="button" href="/dashboard.php">Zum Dashboard</a></p>
<?php endif; ?>
</div>
<?php include __DIR__ . '/includes/footer.php'; ?>