Skip to content

Referencing "real" env var with dump-env #500

@DavG

Description

@DavG

Hello,

Suppose I have in my etc/environment DEFAULT_APP_CDN=https://cdn.somewhere.com

In Flex 1.2.0, I can write in my .env
APP_CDN=${DEFAULT_APP_CDN}
Then with
composer symfony:dump-env whatever
I got in .env.local.php
'APP_CDN' => 'https://cdn.somewhere.com'
And that's pretty cool.

But starting with Flex 1.2.1, I got
'APP_CDN' => ''

Was it not supposed to work from the start ?
Is there another solution to do this ?

Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions