Update to Drupal 8.1.7. For more information, see https://www.drupal.org/project/drupal/releases/8.1.7
This commit is contained in:
parent
38ba7c357d
commit
e9f047ccf8
61 changed files with 1613 additions and 561 deletions
|
@ -797,22 +797,6 @@ function system_requirements($phase) {
|
|||
}
|
||||
}
|
||||
|
||||
// Check if the Twig C extension is available.
|
||||
if ($phase == 'runtime') {
|
||||
$url = 'http://twig.sensiolabs.org/doc/installation.html#installing-the-c-extension';
|
||||
$requirements['twig_c_extension'] = [
|
||||
'title' => t('Twig C extension'),
|
||||
'severity' => REQUIREMENT_INFO,
|
||||
];
|
||||
if (!function_exists('twig_template_get_attributes')) {
|
||||
$requirements['twig_c_extension']['value'] = t('Not available');
|
||||
$requirements['twig_c_extension']['description'] = t('Enabling the Twig C extension can greatly increase rendering performance. See <a href=":url">the installation instructions</a> for more detail.', [':url' => $url]);
|
||||
}
|
||||
else {
|
||||
$requirements['twig_c_extension']['description'] = t('The <a href=":url">Twig C extension</a> is available', [':url' => $url]);
|
||||
}
|
||||
}
|
||||
|
||||
// Check xdebug.max_nesting_level, as some pages will not work if it is too
|
||||
// low.
|
||||
if (extension_loaded('xdebug')) {
|
||||
|
|
Reference in a new issue