Commit cfd6aad4 authored by gdd's avatar gdd

Added xml to default file block list

parent 7ff6bfd5
......@@ -3,7 +3,7 @@
#
# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$">
<FilesMatch "\.(xml|engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$">
Order allow,deny
</FilesMatch>
......
......@@ -980,9 +980,6 @@ function install_settings_form_submit($form, &$form_state) {
$config_path = conf_path() . '/files/' . $settings['drupal_config_directory_name']['value'];
if (!file_prepare_directory($config_path, FILE_CREATE_DIRECTORY)) {
// How best to handle errors here?
// Will also want to create a default .htaccess for this dir to block
// reading of json, xml, yaml, ini, others?
};
// Indicate that the settings file has been verified, and check the database
// for the last completed task, now that we have a valid connection. This
......
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