GHengeveld |
|
---|---|
You can try this: $cfg['mainurl'] = 'http://' . $_SERVER['HTTP_HOST']; I wouldn't recommend it though. Also make sure you have no 'domain for cookies' configured in admin->config->main so it will automatically pick the right domain name. |