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

thanks but actually I think my fault was using the getenv command.

The following works:

PHP Code:
$database config('Database');
var_dump($database); 

and shows that database.default is an array
Reply


Messages In This Thread
Array in .env file - by rich8374 - 01-03-2020, 04:18 AM
RE: Array in .env file - by InsiteFX - 01-03-2020, 09:22 AM
RE: Array in .env file - by rich8374 - 01-03-2020, 10:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB