Fix for r51774, r51784: set '127.0.0.1' as IP for CLI, but with explicit check for...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 12 Jun 2009 09:34:49 +0000 (09:34 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 12 Jun 2009 09:34:49 +0000 (09:34 +0000)
commit5b2c98b2ef0206d1c71ef9cd48f9a4dd016dac26
treecffa2f613133136fd6f80db1814e8c4a104f1eec
parent8f79397a7cdd5cc4f7f91b43778a5eed5c51e4cb
Fix for r51774, r51784: set '127.0.0.1' as IP for CLI, but with explicit check for $wgCommandLineMode so that the exception "Unable to determine IP" is not thrown in this case.
includes/ProxyTools.php