Index: includes/install.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/install.inc,v retrieving revision 1.70 diff -u -p -r1.70 install.inc --- includes/install.inc 20 Sep 2008 20:22:23 -0000 1.70 +++ includes/install.inc 23 Sep 2008 08:44:27 -0000 @@ -330,7 +330,6 @@ abstract class DatabaseInstaller { * An array of settings that need to be updated. */ function drupal_rewrite_settings($settings = array(), $prefix = '') { - $default_settings = 'sites/default/default.settings.php'; $settings_file = conf_path(FALSE, TRUE) . '/' . $prefix . 'settings.php'; // Build list of setting names and insert the values into the global namespace. @@ -342,7 +341,7 @@ function drupal_rewrite_settings($settin $buffer = NULL; $first = TRUE; - if ($fp = fopen(DRUPAL_ROOT . '/' . $default_settings, 'r')) { + if ($fp = fopen(DRUPAL_ROOT . '/' . $settings_file, 'r')) { // Step line by line through settings.php. while (!feof($fp)) { $line = fgets($fp);