Requirement
I need to change the database (or configuration) according to the logged in user and *give a direct dedicated link for them to login
Solution so far
Creating a folder with the username of the user when the user register and copy all the laravel files and folder to it with relevant database configuration in the env
file.
Problem with current solution
Maintainability of the code is the main problem; if the was an error I have to go thought each and every folder and update it one by one manually.
Is there a better architecture for this system? Is there a way of changing the env
file relevant to the user
*giving a direct link is required
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2pEPpR4
via IFTTT
Aucun commentaire:
Enregistrer un commentaire