Shut up PHP notification warnings about $_SERVER['SERVER_NAME']
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 27 Sep 2004 04:43:29 +0000 (04:43 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 27 Sep 2004 04:43:29 +0000 (04:43 +0000)
commit5e6faed41f3fc598615a8c5f81dd37fa51c6ed6a
tree539502aff41863cc991dc00831001facdfb2d73a
parent852eec51ed67ed74a062ce6124089cb15e7b6000
Shut up PHP notification warnings about $_SERVER['SERVER_NAME']
being unaccessible from the command line. Fall back to $_SERVER['HOSTNAME']
or 'localhost' if not available.
includes/DefaultSettings.php