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__ . '/../vendor/autoload.php';
|
||||||
require __DIR__ . '/../src/Framework/Debug/helpers.php';
|
require __DIR__ . '/../src/Framework/Debug/helpers.php';
|
||||||
|
|
||||||
/*
|
error_log('Starting application...');
|
||||||
$config = [
|
|
||||||
'debug' => true,
|
error_log("------ ENVIRONMENT VARIABLES ------");
|
||||||
'async_discovery' => true,
|
|
||||||
// weitere Konfigurationsoptionen...
|
error_log(print_r($_ENV, true));
|
||||||
];*/
|
|
||||||
|
error_log("------ SERVER VARIABLES ------");
|
||||||
|
|
||||||
|
error_log(print_r($_SERVER, true));
|
||||||
|
|
||||||
// Anwendung initialisieren und ausführen
|
// Anwendung initialisieren und ausführen
|
||||||
$basePath = dirname(__DIR__);
|
$basePath = dirname(__DIR__);
|
||||||
|
|||||||
Reference in New Issue
Block a user