7
Dear Xuser,
Thank you very much but it still not work.
My original code of that part is:
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://www.ria1.org');
define('XOOPS_URL', 'http://www.ria1.org');
As your suggestion I change to:
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: if(strstr($_SERVER["REQUEST_URI"],"http://ria1.org"))
{
deinfe("XOOPS_URL","http://ria1.org")
}
else if(strstr($_SERVER["REQUEST_URI"],"http://ria1.mofi.gov.vn"))
{
deinfe("XOOPS_URL","http://ria1.mofi.gov.vn")
}
But it not work and have an error:
Parse error: parse error in D:\hshome\acc257\ria1.org\mainfile.php on line 41
Can you help me to solve this problem.
Thanks a lot, Nghia