mardi 31 janvier 2017

Folders for subdomain-specific files beside Laravel's folder

I'd like to make a Laravel app, where the subdomains' folders are beside the Laravel project folder. If a file (eg. a controller file) is not found in the current subdomain's folder, then it's loaded from the main project folder.

So my folder tree would look like this:

  • Laravel project (all Laravel files)
    • app
    • Http
      • Controllers
      • ...
    • ...
    • ...
  • Subdomain1 (only subdomain specific files)
    • app
    • Http
      • Controllers
      • ...
    • ...
    • ...

Can I have Laravel behave like this?

Thank You for your help!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jS3pST
via IFTTT

Aucun commentaire:

Enregistrer un commentaire