Commit 9adf9d8c authored by Dries's avatar Dries

- Patch #71424 by Moshe: removed global variable.

parent af976d33
......@@ -151,7 +151,7 @@ function drupal_unset_globals() {
* Loads the configuration and sets the base URL correctly.
*/
function conf_init() {
global $db_url, $db_prefix, $base_url, $base_path, $base_root, $conf;
global $base_url, $base_path, $base_root, $conf;
$conf = array();
require_once './'. conf_path() .'/settings.php';
......
Markdown is supported
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