Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes
This commit is contained in:
parent
b11a755ba8
commit
c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions
|
@ -19,7 +19,6 @@ function simpletest_requirements($phase) {
|
|||
$requirements = array();
|
||||
|
||||
$has_curl = function_exists('curl_init');
|
||||
$has_domdocument = method_exists('DOMDocument', 'loadHTML');
|
||||
$open_basedir = ini_get('open_basedir');
|
||||
|
||||
$requirements['curl'] = array(
|
||||
|
@ -28,16 +27,7 @@ function simpletest_requirements($phase) {
|
|||
);
|
||||
if (!$has_curl) {
|
||||
$requirements['curl']['severity'] = REQUIREMENT_ERROR;
|
||||
$requirements['curl']['description'] = t('The testing framework could not be installed because the PHP <a href=":curl_url">cURL</a> library is not available.', array(':curl_url' => 'http://php.net/manual/curl.setup.php'));
|
||||
}
|
||||
|
||||
$requirements['php_domdocument'] = array(
|
||||
'title' => t('PHP DOMDocument class'),
|
||||
'value' => $has_domdocument ? t('Enabled') : t('Not found'),
|
||||
);
|
||||
if (!$has_domdocument) {
|
||||
$requirements['php_domdocument']['severity'] = REQUIREMENT_ERROR;
|
||||
$requirements['php_domdocument']['description'] = t('The testing framework requires the DOMDocument class to be available. Check the configure command at the <a href=":link-phpinfo">PHP info page</a>.', array(':link-phpinfo' => \Drupal::url('system.php')));
|
||||
$requirements['curl']['description'] = t('The testing framework could not be installed because the PHP <a href="http://php.net/manual/curl.setup.php">cURL</a> library is not available.');
|
||||
}
|
||||
|
||||
// SimpleTest currently needs 2 cURL options which are incompatible with
|
||||
|
@ -49,7 +39,7 @@ function simpletest_requirements($phase) {
|
|||
);
|
||||
if ($open_basedir) {
|
||||
$requirements['php_open_basedir']['severity'] = REQUIREMENT_ERROR;
|
||||
$requirements['php_open_basedir']['description'] = t('The testing framework requires the PHP <a href=":open_basedir-url">open_basedir</a> restriction to be disabled. Check your webserver configuration or contact your web host.', array(':open_basedir-url' => 'http://php.net/manual/ini.core.php#ini.open-basedir'));
|
||||
$requirements['php_open_basedir']['description'] = t('The testing framework requires the PHP <a href="http://php.net/manual/ini.core.php#ini.open-basedir">open_basedir</a> restriction to be disabled. Check your webserver configuration or contact your web host.');
|
||||
}
|
||||
|
||||
// Check the current memory limit. If it is set too low, SimpleTest will fail
|
||||
|
|
Reference in a new issue