diff --git a/core/install.php b/core/install.php index e123db239734c726458a24a0f879b32fa8a5126f..6e5ddffb1e8788fc54fcb5886cea98856212e4fa 100644 --- a/core/install.php +++ b/core/install.php @@ -37,7 +37,7 @@ // Initialize the autoloader. $class_loader = require_once $root_path . '/autoload.php'; -// If OPCache is in use, ensure opcache.save_comments is enabled. +// If OPcache is in use, ensure opcache.save_comments is enabled. if (OpCodeCache::isEnabled() && !ini_get('opcache.save_comments')) { print 'Systems with OPcache installed must have <a href="http://php.net/manual/opcache.configuration.php#ini.opcache.save-comments">opcache.save_comments</a> enabled.'; exit(); diff --git a/core/lib/Drupal/Component/Utility/OpCodeCache.php b/core/lib/Drupal/Component/Utility/OpCodeCache.php index efce6f2b00d6a66844f5db4335fd33ff84f781a9..e9c8c9807a9de8e30c890c388f18c5eab00a3c42 100644 --- a/core/lib/Drupal/Component/Utility/OpCodeCache.php +++ b/core/lib/Drupal/Component/Utility/OpCodeCache.php @@ -13,7 +13,7 @@ class OpCodeCache { * Checks if OpCodeCache is enabled. * * @return bool - * TRUE if opcache is enabled, FALSE otherwise. + * TRUE if OPcache is enabled, FALSE otherwise. */ public static function isEnabled() { return extension_loaded('Zend OPcache') && ini_get('opcache.enable'); diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index 2d9b63dfd7905ee8c499ef5e10b3f0b2c236c141..970f5f424c8c1fb3e94647c54554cfa40f905d70 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -1026,7 +1026,7 @@ public static function bootEnvironment($app_root = NULL) { ini_set('log_errors', 1); ini_set('error_log', $app_root . '/' . $test_db->getTestSitePath() . '/error.log'); - // Ensure that a rewritten settings.php is used if opcache is on. + // Ensure that a rewritten settings.php is used if OPcache is on. ini_set('opcache.validate_timestamps', 'on'); ini_set('opcache.revalidate_freq', 0); }