summaryrefslogtreecommitdiffstats
path: root/index-install.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-11 15:16:14 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-11 15:16:14 +0000
commitd7a8db0a9adba6571b9fc927f95a05614326236e (patch)
tree21101d43d389929836e2ab596cc0b405cf2d7474 /index-install.php
parent6f4bb7f443a18d6cbf0d60406ac852dda083025b (diff)
downloadwordpress-mu-d7a8db0a9adba6571b9fc927f95a05614326236e.tar.gz
wordpress-mu-d7a8db0a9adba6571b9fc927f95a05614326236e.tar.xz
wordpress-mu-d7a8db0a9adba6571b9fc927f95a05614326236e.zip
Use localhost.localdomain
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@652 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'index-install.php')
-rw-r--r--index-install.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index-install.php b/index-install.php
index f35f192..9862dfd 100644
--- a/index-install.php
+++ b/index-install.php
@@ -4,6 +4,9 @@ if( strpos( $_SERVER["REQUEST_URI"], 'index-install.php' ) ) {
header( "Location: index.php" );
die();
}
+if( $_SERVER[ 'HTTP_HOST' ] == 'localhost' ) {
+ die( "<h2>Warning!</h2> Installing to http://localhost/ is not supported. Please use <a href='http://localhost.localdomain/'>http://localhost.localdomain/</a> instead." )
+}
define('WP_INSTALLING', true);
function printheader() {