From 9981d9bbf5a3ced98584ef9c984ac6bd2c0adbb1 Mon Sep 17 00:00:00 2001
From: sun <sun@unleashedmind.com>
Date: Tue, 14 Aug 2012 18:13:49 +0200
Subject: [PATCH] Fixed Drupal installer cannot be fully tested in a separate
 sub/multi-site.

---
 core/includes/install.core.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc
index 369e868..1e55a20 100644
--- a/core/includes/install.core.inc
+++ b/core/includes/install.core.inc
@@ -250,6 +250,12 @@ function install_begin_request(&$install_state) {
     exit;
   }
 
+  // Initialize conf_path().
+  // This primes the site path to be used during installation. By not requiring
+  // settings.php, a bare site folder can be prepared in the /sites directory,
+  // which will be used for installing Drupal.
+  conf_path(FALSE);
+
   drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION);
 
   // A request object from the HTTPFoundation to tell us about the request.
-- 
1.7.11.msysgit.1

