From 8ab93aeaf11a90ff456c91382b4e7f780d632de3 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 15 Oct 2010 03:31:28 +0000 Subject: #938470 by Kevin Hankens: Change error about file permissions on settings.php during install to warning instead. --- includes/install.core.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/install.core.inc') diff --git a/includes/install.core.inc b/includes/install.core.inc index db0951338..427753c3b 100644 --- a/includes/install.core.inc +++ b/includes/install.core.inc @@ -1461,7 +1461,7 @@ function install_configure_form($form, &$form_state, &$install_state) { $settings_dir = './' . conf_path(); $settings_file = $settings_dir . '/settings.php'; if (!drupal_verify_install_file($settings_file, FILE_EXIST|FILE_READABLE|FILE_NOT_WRITABLE) || !drupal_verify_install_file($settings_dir, FILE_NOT_WRITABLE, 'dir')) { - drupal_set_message(st('All necessary changes to %dir and %file have been made, so you should remove write permissions to them now in order to avoid security risks. If you are unsure how to do so, consult the online handbook.', array('%dir' => $settings_dir, '%file' => $settings_file, '@handbook_url' => 'http://drupal.org/server-permissions')), 'error'); + drupal_set_message(st('All necessary changes to %dir and %file have been made, so you should remove write permissions to them now in order to avoid security risks. If you are unsure how to do so, consult the online handbook.', array('%dir' => $settings_dir, '%file' => $settings_file, '@handbook_url' => 'http://drupal.org/server-permissions')), 'warning'); } else { drupal_set_message(st('All necessary changes to %dir and %file have been made. They have been set to read-only for security.', array('%dir' => $settings_dir, '%file' => $settings_file))); -- cgit v1.2.3