If $_SERVER['REMOTE_ADDR'] is not set, use 127.0.0.1 for $wgIP.
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 22 Sep 2004 11:39:30 +0000 (11:39 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 22 Sep 2004 11:39:30 +0000 (11:39 +0000)
commit36281e4c45fb186fbf1af2d87d1a0393e5fd0157
tree3896400c80f17536dd63d9e29825f179cac820ec
parenta91c84bc1c23c2827aa9946036bbdb12e1e01a7e
If $_SERVER['REMOTE_ADDR'] is not set, use 127.0.0.1 for $wgIP.
This avoids an E_NOTIFY-level warning and avoids having the empty
string set for the IP when running from CLI.
includes/Setup.php