Welcome Guest, Not a member yet? Register   Sign In
Why is the base url in .env and Config/app.php
#1

Hi,

in the .env there is an entry app.baseURL and in the file Config/App.php is also a variable $baseURL. Which one should we use and why there are two places?
Reply
#2

.env (environment) has priority over configs.
That is, the value specified in .env will be set for the config.
Reply
#3

Thank you for helping me.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB