LuminaWebsite/config.example.php
Maaxxs 620ef68015 Add a Raids page fed by the guild's external raids API
New raids.php shows upcoming raids (date, requirements, gearscore,
groups and their signups) pulled from https://api.maaxxs-coding.de/api/raids
via includes/raids_api.php (cURL + X-API-Key header), gated behind a
new raids.view permission so it fits the existing permission-group
model. Fresh installs seed raids.view onto Mitglied automatically;
existing installs need to add it once via the Berechtigungsgruppen UI
(documented in the README). API/network failures show a friendly
error instead of crashing the page.

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

20 lines
554 B
PHP

<?php
// Kopiere diese Datei zu "config.php" und trage deine echten Zugangsdaten ein.
// config.php sollte NICHT ins Git-Repository oder öffentlich hochgeladen werden.
return [
'db' => [
'host' => 'localhost',
'name' => 'datenbankname',
'user' => 'datenbankbenutzer',
'pass' => 'datenbankpasswort',
'charset' => 'utf8mb4',
],
'app' => [
'name' => 'Aion2 Gilde',
],
'raids_api' => [
'url' => 'https://api.maaxxs-coding.de/api/raids',
'key' => 'dein-api-key',
],
];