Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/includes/install.inc | ||
---|---|---|
653 | 653 |
if ($fp && fwrite($fp, $buffer) === FALSE) { |
654 | 654 |
throw new Exception(st('Failed to modify %settings. Verify the file permissions.', array('%settings' => $settings_file))); |
655 | 655 |
} |
656 |
else { |
|
657 |
// The existing settings.php file might have been included already. In |
|
658 |
// case an opcode cache is enabled, the rewritten contents of the file |
|
659 |
// will not be reflected in this process. Ensure to invalidate the file |
|
660 |
// in case an opcode cache is enabled. |
|
661 |
drupal_clear_opcode_cache(DRUPAL_ROOT . '/' . $settings_file); |
|
662 |
} |
|
656 | 663 |
} |
657 | 664 |
else { |
658 | 665 |
throw new Exception(st('Failed to open %settings. Verify the file permissions.', array('%settings' => $default_settings))); |
Formats disponibles : Unified diff
Update core to 7.36