Welcome Guest, Not a member yet? Register   Sign In
array in .env file
#2

This array doesn't sounds as environment thing, probably it's place is not in the .env

.env should be used to put only specific configuration settings which are critical for running the environment not everything..
In some cases you can even not use the .env and to set such settings directly at config files if it is will be same for all env's.


How ever at the moment I see maybe only option to set json array string as setting (in single line) at .env and to parse it where you use it.

app.css_files = '["bootstrap.css","fontawesome.css","stylesheet.css"]'
Best VPS Hosting : Digital Ocean
Reply


Messages In This Thread
array in .env file - by obozdag - 10-13-2018, 01:04 AM
RE: array in .env file - by sv3tli0 - 10-13-2018, 11:43 PM
RE: array in .env file - by obozdag - 10-14-2018, 09:14 PM
RE: array in .env file - by ciadmin - 10-14-2018, 10:39 PM
RE: array in .env file - by sv3tli0 - 10-15-2018, 03:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB