multiple applications setup |
Have you though about using $_SERVER variables where you can get the host that's trying to be accessed and then assign it's name to the $application variable that's in your root index.php file. You must use a system hook, also, to avoid/handle any errors with that workflow.
Here, I'll share some of my work: https://gist.github.com/josepostiga/7d46...69791705c5. Of course, you'll need to edit according to your specific needs, but I think will put you on the right track.
Best regards,
José Postiga Senior Backend Developer |
Messages In This Thread |
multiple applications setup - by ronlin - 12-31-2015, 05:03 PM
RE: multiple applications setup - by John_Betong - 12-31-2015, 07:39 PM
RE: multiple applications setup - by ronlin - 01-01-2016, 01:25 PM
RE: multiple applications setup - by josepostiga - 01-21-2016, 02:17 AM
|