I need some help.
I want to create a multisite from only one Laravel 5.1 installation. I read multiple .env
based on subdomain.
But I want to every site has its own public folder.
So for example with this folders:
-> public
-> custom_publics
-> user1
-> user2
-> etc
I can set public_path()
but when I try to get it with asset()
function doesn’t work.
For example: I have a image.png on http://ift.tt/1ZNpqyz
. I change public_path() to custom_publics/user2
. But when call asset(image.png)
gives me http://ift.tt/1UEW32n
and not exists.
There is some way to point to http://ift.tt/1UEW32n
but really goes to http://ift.tt/1ZNpqyz
?
Or, how can I set asset() function path?
Any one has tried? Any help?
Regards, Eric.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire