.env variables vs global.php for environment-specific configuration
Contao CMS allows developers to manage environment-specific settings using either a .env file via the Symfony DotEnv component or the global.php configuration file. While .env is standard for keeping sensitive credentials out of version control, global.php provides a structured PHP-based override mechanism. A critical trade-off exists when moving from a loca