I'm trying to use OPENSHIFT environment variables in my Laravel 4 application, but it doesn't seem to work! I read the following question: Laravel 4 accessing environment variables But in OnpenShift I don't have access to server config.
I always used
$path = $_ENV['OPENSHIFT_DATA_DIR'] . 'uploads/thumbs/';
But $_ENV
and getEnv()
always returns me nothing.
How can I get that?