Skip to content

Commit 59161b9

Browse files
author
quietone
committed
Issue #3478132 by pere orga, smustgrave, cilefen: Fix case in comment (OPcache)
1 parent 6c582d3 commit 59161b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

install.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
// Initialize the autoloader.
3838
$class_loader = require_once $root_path . '/autoload.php';
3939

40-
// If OPCache is in use, ensure opcache.save_comments is enabled.
40+
// If OPcache is in use, ensure opcache.save_comments is enabled.
4141
if (OpCodeCache::isEnabled() && !ini_get('opcache.save_comments')) {
4242
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.';
4343
exit();

lib/Drupal/Component/Utility/OpCodeCache.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class OpCodeCache {
1313
* Checks if OpCodeCache is enabled.
1414
*
1515
* @return bool
16-
* TRUE if opcache is enabled, FALSE otherwise.
16+
* TRUE if OPcache is enabled, FALSE otherwise.
1717
*/
1818
public static function isEnabled() {
1919
return extension_loaded('Zend OPcache') && ini_get('opcache.enable');

lib/Drupal/Core/DrupalKernel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ public static function bootEnvironment($app_root = NULL) {
10261026
ini_set('log_errors', 1);
10271027
ini_set('error_log', $app_root . '/' . $test_db->getTestSitePath() . '/error.log');
10281028

1029-
// Ensure that a rewritten settings.php is used if opcache is on.
1029+
// Ensure that a rewritten settings.php is used if OPcache is on.
10301030
ini_set('opcache.validate_timestamps', 'on');
10311031
ini_set('opcache.revalidate_freq', 0);
10321032
}

0 commit comments

Comments
 (0)