diff options
author | David Rothstein <drothstein@gmail.com> | 2013-11-20 15:49:21 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-11-20 15:49:21 -0500 |
commit | f01c994de8d6f54a5bef1523319c6da88048c146 (patch) | |
tree | f9f1a59d7cfcb10db208e54348a451d15facd9c5 /includes/install.core.inc | |
parent | 3611e1670591e657dd6e6000f98d061def471654 (diff) | |
parent | 782d1155c62c0a879bf587c7e40c3a13bcf6879c (diff) | |
download | brdo-f01c994de8d6f54a5bef1523319c6da88048c146.tar.gz brdo-f01c994de8d6f54a5bef1523319c6da88048c146.tar.bz2 |
Merge tag '7.24' into 7.x
7.24 release
Conflicts:
CHANGELOG.txt
includes/bootstrap.inc
Diffstat (limited to 'includes/install.core.inc')
-rw-r--r-- | includes/install.core.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/includes/install.core.inc b/includes/install.core.inc index 7a694e9bb..83f18735a 100644 --- a/includes/install.core.inc +++ b/includes/install.core.inc @@ -766,6 +766,15 @@ function install_system_module(&$install_state) { // Install system.module. drupal_install_system(); + // Call file_ensure_htaccess() to ensure that all of Drupal's standard + // directories (e.g., the public and private files directories) have + // appropriate .htaccess files. These directories will have already been + // created by this point in the installer, since Drupal creates them during + // the install_verify_requirements() task. Note that we cannot call + // file_ensure_htaccess() any earlier than this, since it relies on + // system.module in order to work. + file_ensure_htaccess(); + // Enable the user module so that sessions can be recorded during the // upcoming bootstrap step. module_enable(array('user'), FALSE); @@ -981,7 +990,7 @@ function install_settings_form_submit($form, &$form_state) { 'required' => TRUE, ); $settings['drupal_hash_salt'] = array( - 'value' => drupal_hash_base64(drupal_random_bytes(55)), + 'value' => drupal_random_key(), 'required' => TRUE, ); drupal_rewrite_settings($settings); |