Use installing variable (from Donncha)

git-svn-id: https://develop.svn.wordpress.org/trunk@2455 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2005-03-17 23:34:06 +00:00
parent 85c7025241
commit 5b52ad1017
4 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<?php
$_wp_installing = 1;
define('WP_INSTALLING', true);
if (file_exists('../wp-config.php'))
die("The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first.");