Skip to content

Commit

Permalink
SERVER_ADDR is not defined in IIS, changing initial value to 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Mar 12, 2005
1 parent ea7a672 commit e2a1a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/chat/lib.php
Expand Up @@ -20,7 +20,7 @@
set_config("chat_serverhost", $_SERVER['HTTP_HOST']);
}
if (!isset($CFG->chat_serverip)) {
set_config("chat_serverip", $_SERVER['SERVER_ADDR']);
set_config("chat_serverip", '127.0.0.1');
}
if (!isset($CFG->chat_serverport)) {
set_config("chat_serverport", 9111);
Expand Down

0 comments on commit e2a1a0f

Please sign in to comment.