Verified Commit e43c26dc authored by quietone's avatar quietone
Browse files

Issue #3478132 by pere orga, smustgrave, cilefen: Fix case in comment (OPcache)

parent 16c1f490
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
+1 −1
Original line number Diff line number Diff line
@@ -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');
+1 −1
Original line number Diff line number Diff line
@@ -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);
      }