This question already has an answer here:
I am having problem with the default parameter of env() helper. I have set my variables in the .env file, however when I try to pass the default parameter in any part of my code I get the Undefined Index error. See: env('VENCIMENTO',$_SERVER['VENCIMENTO'])
$_SERVER['VENCIMENTO'] is a variable it will be set in production mode. Any thoughts what am I doing wrong??
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire