diablo |
|
---|---|
im working on local network on my computer and when i try to access cotonti from other room via ip 192.168.1.103 i cant load the site. only text appears on screen with no css or images. but my joomla directory works perfectly. how can i fix it ? "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
|
Twiebie |
|
---|---|
Temporarily remove {HEADER_BASEHREF} from your header.tpl file. Or set $cfg['mainurl'] = 'http://192.168.1.20/cotonti'; in config.php to the local IP of the machine that runs the webserver.
|
diablo |
|
---|---|
didnt knew about the first one thank you. "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
|
Trustmaster |
|
---|---|
Currently Cotonti relies on domain from $cfg['mainurl'] a lot. This could be changed in favor of currently requested host, but there still should be an option to default to mainurl because some sites would need that. There is a related issue in the tracker: #848. May the Source be with you!
|