only in patch2: unchanged: --- /dev/null +++ b/core/modules/rest/rest.install @@ -0,0 +1,30 @@ + t('always_populate_raw_post_data PHP setting'), + 'value' => t('Not set to -1.'), + 'severity' => REQUIREMENT_ERROR, + 'description' => t('The always_populate_raw_post_data PHP setting should be set to -1. Please check the PHP manual for information on how to correct this.'), + ); + } + else { + $requirements['always_populate_raw_post_data'] = array( + 'title' => t('always_populate_raw_post_data PHP setting'), + 'value' => t('Set to -1.'), + 'severity' => REQUIREMENT_OK + ); + } + return $requirements; +}