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

(This post was last modified: 10-15-2018, 03:33 AM by sv3tli0.)

(10-14-2018, 09:14 PM)obozdag Wrote: app.css_files = '["bootstrap.css","fontawesome.css","stylesheet.css"]' is returning a string. In .env file there is an example but I think it doesn't work either. If so, CodeIgniter4 .env file style may be changed from apache to json or something else.
# app.CSRFExcludeURIs = []

Yes, you need just to json_decode($IT, true) to get normal array. I think this is more then enough for such type of LIST.

(10-14-2018, 10:39 PM)ciadmin Wrote: Er, don't we already have what you are asking for?

Yes but those are assoc arrays. He is asking for just a list of entries without keys..

SimpleConfig.address.city = "Berlin"
SimpleConfig.address.country = "Germany"
SimpleConfig.address.0 = "Berlin"
SimpleConfig.address.1 = "Munich"
Best VPS Hosting : Digital Ocean

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