diff options
-rw-r--r-- | includes/bootstrap.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index aa5320867..c93f2a81c 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -259,6 +259,10 @@ function drupal_unset_globals() { function conf_init() { global $base_url, $base_path, $base_root; + // Export the following settings.php variables to the global namespace + global $db_url, $db_prefix, $conf, $installed_profile; + $conf = array(); + include_once './'. conf_path() .'/settings.php'; if (isset($base_url)) { |