Merge branch 'main' into develop

This commit is contained in:
𝓜𝓪𝓬𝓮™
2026-04-09 15:27:44 +02:00
parent 0f9b76af19
commit 9261af3e53
39 changed files with 3012 additions and 844 deletions

View File

@@ -10,7 +10,12 @@ if (session_status() === PHP_SESSION_NONE) {
}
// Konfiguration laden
require_once 'config/config.php';
require_once 'config/mail-config.php';
// PHPMailer Autoload (falls via Composer installiert)
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
require_once __DIR__ . '/vendor/autoload.php';
}
// Konfiguration verwenden
$config = getHexaHostConfig();
@@ -305,7 +310,7 @@ function generateEmailHTML($data) {
<div class="footer">
<p>Diese E-Mail wurde automatisch vom HexaHost.de Kontaktformular generiert.</p>
<p>© 2024 HexaHost.de - Alle Rechte vorbehalten</p>
<p>© ' . date('Y') . ' HexaHost.de - Alle Rechte vorbehalten</p>
</div>
</div>
</body>
@@ -342,7 +347,7 @@ function generateEmailText($data) {
$text .= "---\n";
$text .= "Diese E-Mail wurde automatisch vom HexaHost.de Kontaktformular generiert.\n";
$text .= "© 2024 HexaHost.de - Alle Rechte vorbehalten";
$text .= "© " . date('Y') . " HexaHost.de - Alle Rechte vorbehalten";
return $text;
}