From d7a8db0a9adba6571b9fc927f95a05614326236e Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 11 Jul 2006 15:16:14 +0000 Subject: Use localhost.localdomain git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@652 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- index-install.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index-install.php') 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( "

Warning!

Installing to http://localhost/ is not supported. Please use http://localhost.localdomain/ instead." ) +} define('WP_INSTALLING', true); function printheader() { -- cgit