Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2
This commit is contained in:
parent
9eae24d844
commit
28556d630e
1322 changed files with 6699 additions and 2064 deletions
|
|
@ -227,7 +227,7 @@ function drupal_rewrite_settings($settings = array(), $settings_file = NULL) {
|
|||
else {
|
||||
_drupal_rewrite_settings_global($settings_settings, $data);
|
||||
}
|
||||
$variable_names['$'. $setting] = $setting;
|
||||
$variable_names['$' . $setting] = $setting;
|
||||
}
|
||||
$contents = file_get_contents($settings_file);
|
||||
if ($contents !== FALSE) {
|
||||
|
|
@ -362,13 +362,14 @@ function drupal_rewrite_settings($settings = array(), $settings_file = NULL) {
|
|||
* Checks whether this token represents a scalar or NULL.
|
||||
*
|
||||
* @param int $type
|
||||
* The token type
|
||||
* @see token_name().
|
||||
* The token type.
|
||||
* @param string $value
|
||||
* The value of the token.
|
||||
*
|
||||
* @return bool
|
||||
* TRUE if this token represents a scalar or NULL.
|
||||
*
|
||||
* @see token_name()
|
||||
*/
|
||||
function _drupal_rewrite_settings_is_simple($type, $value) {
|
||||
$is_integer = $type == T_LNUMBER;
|
||||
|
|
@ -386,11 +387,12 @@ function _drupal_rewrite_settings_is_simple($type, $value) {
|
|||
* string.
|
||||
*
|
||||
* @param int $type
|
||||
* The token type
|
||||
* @see token_name().
|
||||
* The token type.
|
||||
*
|
||||
* @return bool
|
||||
* TRUE if this token represents a number or a string.
|
||||
*
|
||||
* @see token_name()
|
||||
*/
|
||||
function _drupal_rewrite_settings_is_array_index($type) {
|
||||
$is_integer = $type == T_LNUMBER;
|
||||
|
|
@ -515,7 +517,7 @@ function drupal_install_config_directories() {
|
|||
// they can later be added to git. Since this directory is auto-created, we
|
||||
// have to write out the README rather than just adding it to the drupal core
|
||||
// repo.
|
||||
$text = 'This directory contains configuration to be imported into your Drupal site. To make this configuration active, visit admin/config/development/configuration/sync.' .' For information about deploying configuration between servers, see https://www.drupal.org/documentation/administer/config';
|
||||
$text = 'This directory contains configuration to be imported into your Drupal site. To make this configuration active, visit admin/config/development/configuration/sync.' . ' For information about deploying configuration between servers, see https://www.drupal.org/documentation/administer/config';
|
||||
file_put_contents(config_get_config_directory(CONFIG_SYNC_DIRECTORY) . '/README.txt', $text);
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue