summaryrefslogtreecommitdiff
path: root/includes/install.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/install.inc')
-rw-r--r--includes/install.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/install.inc b/includes/install.inc
index 962f14ed2..59437c909 100644
--- a/includes/install.inc
+++ b/includes/install.inc
@@ -208,6 +208,11 @@ function drupal_detect_baseurl($file = 'install.php') {
function drupal_detect_database_types() {
$databases = array();
+ // Initialize the database system if it has not been
+ // initialized yet. We do not initialize it earlier to make
+ // requirements check during the installation.
+ require_once DRUPAL_ROOT . '/includes/database/database.inc';
+
// We define a driver as a directory in /includes/database that in turn
// contains a database.inc file. That allows us to drop in additional drivers
// without modifying the installer.