I create file named constants.php in project\config folder
The content is
<?php
return [
'foo' => 'bar',
];
?>
But I get empty response while I do config('constants.foo') or Config::get('constants.foo')
Where I'm doing wrong?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ryJSch
via IFTTT
Aucun commentaire:
Enregistrer un commentaire