fix: remove Post-ERG branding → XAMXAM; drop legacy posterg nginx symlink in deploy script; rename posterg.db → xamxam.db

This commit is contained in:
Pontoporeia
2026-04-30 11:10:07 +02:00
parent c949cf9481
commit 68e30abb56
20 changed files with 36 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
# Admin Panel Structure
This directory contains the admin panel for managing Post-ERG thesis database.
This directory contains the admin panel for managing XAMXAM thesis database.
## Directory Structure

View File

@@ -39,7 +39,7 @@ if ($section === 'formulaire') {
'encryption' => $_POST['smtp_encryption'] ?? 'tls',
'username' => $_POST['smtp_username'] ?? '',
'from_email' => $_POST['smtp_from_email'] ?? '',
'from_name' => $_POST['smtp_from_name'] ?? 'Post-ERG',
'from_name' => $_POST['smtp_from_name'] ?? 'XAMXAM',
];
// Only update password when user actually typed something.
$pwd = $_POST['smtp_password'] ?? '';

View File

@@ -32,16 +32,16 @@ if (!SmtpRelay::isConfigured($db)) {
exit;
}
$subject = 'Test SMTP — Post-ERG';
$subject = 'Test SMTP — XAMXAM';
$sentDate = date('d/m/Y à H:i:s');
$toSafe = htmlspecialchars($to);
$body = <<<HTML
<html>
<body style="font-family: sans-serif; color: #222; max-width: 600px; margin: 0 auto; padding: 24px;">
<h1 style="font-size: 1.4rem; border-bottom: 2px solid #c00; padding-bottom: 8px;">
Test d'envoi SMTP — Post-ERG
Test d'envoi SMTP — XAMXAM
</h1>
<p>Ceci est un e-mail de test envoyé depuis l'interface d'administration de <strong>Post-ERG</strong>.</p>
<p>Ceci est un e-mail de test envoyé depuis l'interface d'administration de <strong>XAMXAM</strong>.</p>
<p>Si vous recevez ce message, la configuration du relay SMTP est correcte.</p>
<hr style="border:none; border-top:1px solid #ddd; margin: 24px 0;">
<p style="font-size: 0.85rem; color: #666;">