
Example:
One user is browsing XOOPS site with the base url :http://www.example.com, xlanguage serves english language.
One user is browsing the same website but with the base url:
http://www.example.fr and xlanguage serves french.
To make this works, it would be needed to dinamicaly define XOOPS_URL based on the url asked.
For example if someone is browsinghttp://www.example.com/news, XOOPS_URL should be defined this way:
define(XOOPS_URL,'http://www.ewample.com');
And if someone is browsinghttp://www.example.fr/news, XOOPS_URL should be defined that way:
define(XOOPS_URL,'http://www.ewample.fr');
I don't know if what I'm asking here is possible.
Thank you for your answers.