Skip to content

How to asign environment variables to the volume's asset filesystem #12478

Answered by goraxan
goraxan asked this question in Q&A
Discussion options

You must be logged in to vote

Ok... for those who might have the same problem, my problem was caused because of how Dotenv is initialized in the craft starter project I'm using (https://github.com/CreateSean/craft-starter).
I've solved it by changing both the craft and index.php files from
Dotenv\Dotenv::create(CRAFT_BASE_PATH)->load();
to
Dotenv\Dotenv::create(CRAFT_BASE_PATH)->overload();
Related with #3993 (comment)

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@brandonkelly
Comment options

@goraxan
Comment options

@brianjhanson
Comment options

@goraxan
Comment options

@goraxan
Comment options

Comment options

You must be logged in to vote
1 reply
@brandonkelly
Comment options

Answer selected by goraxan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants