Commit df1bea8b authored by Dries's avatar Dries
Browse files

- Patch #138429: reroll.

parent 2e34699b
......@@ -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)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment