gecche / laravel-multidomain

A Laravel extension for using a laravel application on a multi domain setting
MIT License
838 stars 105 forks source link

Question: config helper #113

Closed fpolli closed 5 months ago

fpolli commented 5 months ago

If I do "config('app.name') in code, is that going to pull from the config for the current domain or do I need to alter that code in some way?

gecche commented 5 months ago

Hi,

If you didn't change the configuration file, app.name is borrowed from the .env file, so you should display the app.name correspondingly to the .env file of the current domain.

Hope this helps

Giacomo