mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 06:58:43 +00:00
Refactor product configuration loading in multiple PHP files: Updated contact-handler.php to load mail configuration, and modified mail-gateway.php, vpc.php, vps.php, and webhosting.php to utilize a centralized products-config.php for product data retrieval. Removed hardcoded package details in favor of dynamic rendering for improved maintainability.
This commit is contained in:
@@ -10,7 +10,7 @@ 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')) {
|
||||
|
||||
Reference in New Issue
Block a user