THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


The PaaS I want to deploy to allows setting environment variables from the command line. However, whereas Symfony's standard environment variables end up in $_SERVER, the platform's variables end up in $_ENV.

By default, Thelia/Symfony seems to only check $_SERVER for environment variables when parsing files like database.yml. How can I get Thelia to look in $_ENV instead?

Last edited by ctamayo (20-04-2017 00:00:03)