summaryrefslogtreecommitdiff
path: root/includes/install.core.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-15 03:31:28 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-15 03:31:28 +0000
commit8ab93aeaf11a90ff456c91382b4e7f780d632de3 (patch)
tree199070f30e7d61a49940aa346661f412a33ae8be /includes/install.core.inc
parent6e70634b80fbc0e7f08e0b694f228ffc257b8f6b (diff)
downloadbrdo-8ab93aeaf11a90ff456c91382b4e7f780d632de3.tar.gz
brdo-8ab93aeaf11a90ff456c91382b4e7f780d632de3.tar.bz2
#938470 by Kevin Hankens: Change error about file permissions on settings.php during install to warning instead.
Diffstat (limited to 'includes/install.core.inc')
-rw-r--r--includes/install.core.inc2
1 files changed, 1 insertions, 1 deletions
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 <a href="@handbook_url">online handbook</a>.', 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 <a href="@handbook_url">online handbook</a>.', 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)));