dimanche 25 octobre 2015

Laravel - Do something every time Laravel runs

I have a situation where i have different domains having the A record for my server. So all the domains are pointing to the same laravel server. Now when ever laravel runs i want to get the domain name that sent the request and then change the logo of the website. What is most efficient way of doing this?

I want to keep it light and simple. I just have a few domains so i dont have any issues hardcoding them up to save a db query.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire