CONTAO_ENV variable vs config file for enforcing production mode
A Contao installation needs consistent mode and path resolution between local development and production. The documented approaches for environment detection are CONTAO_ENV set in the server environment and values persisted in system/config/localconfig.php. Path handling also varies between absolute system/path definitions and relative resolution of var/cach