Domain lock in J1.5.11

Once I had to force J1.5.11 to use a specific domain and here is how i’ve done it:

  1. I browsed to /libraries/joomla/environment
  2. I opened uri.php in gedit
  3. finally I replaced all $_SERVER['HTTP_HOST'] with “www.???.com”

i know it’s not good programming.

in fact it’s horrible but it worked for me :)

This entry was posted on Thursday, June 25th, 2009 at 2:51 am and is filed under CMS, PHP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Anti-Spam Protection by WP-SpamFree