Permalink
Browse files

SERVER_ADDR is not defined in IIS, changing initial value to 127.0.0.1

  • Loading branch information...
1 parent ea7a672 commit e2a1a0fa498da36d341b654cef0f4339c8cae1f2 skodak committed Mar 12, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/chat/lib.php
View
@@ -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);

0 comments on commit e2a1a0f

Please sign in to comment.