11
xuser
Re: Domain name related question
  • 2006/5/11 14:17

  • xuser

  • Just popping in

  • Posts: 73

  • Since: 2002/11/26


it seems that the compiled template cause it

12
nghia
Re: Domain name related question
  • 2006/5/11 14:25

  • nghia

  • Just popping in

  • Posts: 20

  • Since: 2005/1/23


So, how can I do next????
Please any one can help, Nghia

13
iHackCode
Re: Domain name related question

what about/?

if("http://{$_SERVER['HTTP_HOST']}== "http://www.ria1.org" || "http://ria1.org")
{
define('XOOPS_URL''http://www.ria1.org');
}elseif(
"http://{$_SERVER['HTTP_HOST']}== "http://ria1.mofi.gov.vn" or http://ria1.mofi.gov.vn)
{
define('XOOPS_URL','http://ria1.mofi.gov.vn');
}


or
define('XOOPS_URL'"http://{$_SERVER['HTTP_HOST']}");
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

14
nghia
Re: Domain name related question
  • 2006/5/11 14:51

  • nghia

  • Just popping in

  • Posts: 20

  • Since: 2005/1/23


Thank you very much for you all.

It work nice with:

define('XOOPS_URL', "http://{$_SERVER['HTTP_HOST']}");

All the best, Nghia

Login

Who's Online

164 user(s) are online (15 user(s) are browsing Support Forums)


Members: 0


Guests: 164


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits