gecche / laravel-multidomain

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

Question: config helper #113

Closed fpolli closed 8 months ago

fpolli commented 8 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 8 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