poteto-dev / laravel-ui-stisla

MIT License
60 stars 22 forks source link

Use config() instead of env() helper #15

Closed aggunawan closed 4 years ago

aggunawan commented 4 years ago

Based on this article. When we cache all configuration use config:cache command, env() method will return null.

I found direct call to env() method at blade file eg. skeleton.blade.php.

Can we replace env() with config() method ? or we have better reason why we need to stick with env() ?

muhajirinlpu commented 4 years ago

no, we don't have any reason for that, feel free to pull request