diff -u b/core/modules/system/system.install b/core/modules/system/system.install --- b/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -648,14 +648,13 @@ } } - // Check if xdebug.max_nesting_level is below 256, as it crashes some pages. + // Check if xdebug.max_nesting_level is too low, as it crashes some pages. $xdebug_nesting_level = 256; if (extension_loaded('xdebug') && ini_get('xdebug.max_nesting_level') < $xdebug_nesting_level) { - - // Report on where correct ini file is to user. + // Report on where the correct ini file is to the user. $ini_scanned_files = php_ini_scanned_files(); $ini_location = php_ini_loaded_file(); - if ($ini_scanned_files !== false) { + if ($ini_scanned_files !== FALSE) { $ini_files = explode(',', $ini_scanned_files); foreach ($ini_files as $value) { if (strpos($value, 'xdebug.ini') !== FALSE) { @@ -667,7 +666,7 @@ $description = t('A max_nesting_level lower than @lvl will cause some pages in your Drupal site to crash. To fix this it is recommended to set xdebug.max_nesting_level=@lvl in your PHP configuration for Xdebug.', array('@lvl' => $xdebug_nesting_level)); if ($ini_location !== FALSE) { - $description .= ' ' . t('Your Xdebug configuration is located in @iniLocation.', array('@iniLocation' => $ini_location)); + $description .= ' ' . t('Your Xdebug configuration can be modified in @iniLocation.', array('@iniLocation' => $ini_location)); } $requirements['xdebug_max_nesting_level'] = array(