Refactor configuration files for HexaHost.de: Updated mail and product configuration files to improve clarity and maintainability. Added deprecation notices in the old config file, migrated email handling to a new structure, and enhanced documentation for better understanding. Improved header comments across various public pages for better organization and readability.

This commit is contained in:
smueller
2026-05-27 13:22:46 +02:00
parent b893272d64
commit b9bd339607
32 changed files with 360 additions and 1452 deletions

View File

@@ -2,21 +2,21 @@
require_once __DIR__ . '/../backend/includes/functions.php';
require_once __DIR__ . '/../backend/config/products-config.php';
// Produkt-Daten aus Config laden
$product = getProduct('webhosting');
$packages = getProductPackages('webhosting');
// Page configuration
$page_title = $product['page_title'];
$page_description = $product['page_description'];
$current_page = 'webhosting';
// Include header
includeHeader($page_title, $page_description, $current_page);
?>
<main id="main-content">
<!-- Product Hero -->
<section class="product-hero">
<div class="container">
<div class="product-hero-content">
@@ -60,7 +60,7 @@ includeHeader($page_title, $page_description, $current_page);
</div>
</section>
<!-- Webhosting Packages -->
<section class="packages">
<div class="container">
<div class="section-header">
@@ -75,7 +75,7 @@ includeHeader($page_title, $page_description, $current_page);
</div>
</section>
<!-- Technical Details -->
<section class="technical-details">
<div class="container">
<div class="section-header">
@@ -133,7 +133,7 @@ includeHeader($page_title, $page_description, $current_page);
</div>
</section>
<!-- Use Cases -->
<section class="use-cases">
<div class="container">
<div class="section-header">
@@ -163,7 +163,7 @@ includeHeader($page_title, $page_description, $current_page);
</div>
</section>
<!-- CTA Section -->
<section class="cta">
<div class="container">
<div class="cta-content glass-card">
@@ -179,6 +179,6 @@ includeHeader($page_title, $page_description, $current_page);
</main>
<?php
// Include footer
includeFooter();
?>