From d5655b14565af4c6213afe10f7dd59fbad4969aa Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Sun, 2 Nov 2025 15:39:49 +0100 Subject: [PATCH] feat: add debug logging for environment and server variables in index.php --- public/index.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/public/index.php b/public/index.php index 115fb285..cd809ae5 100644 --- a/public/index.php +++ b/public/index.php @@ -11,12 +11,15 @@ use App\Framework\Performance\MemoryMonitor; require __DIR__ . '/../vendor/autoload.php'; require __DIR__ . '/../src/Framework/Debug/helpers.php'; -/* -$config = [ - 'debug' => true, - 'async_discovery' => true, - // weitere Konfigurationsoptionen... -];*/ +error_log('Starting application...'); + +error_log("------ ENVIRONMENT VARIABLES ------"); + +error_log(print_r($_ENV, true)); + +error_log("------ SERVER VARIABLES ------"); + +error_log(print_r($_SERVER, true)); // Anwendung initialisieren und ausführen $basePath = dirname(__DIR__);