feat: add debug logging for environment and server variables in index.php
This commit is contained in:
@@ -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__);
|
||||
|
||||
Reference in New Issue
Block a user