Skip to content
Snippets Groups Projects
Commit 71a15feb authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2421451 by cilefen, dawehner: Drupal needs comments in opcache

parent af11320d
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
exit; exit;
} }
if (function_exists('opcache_get_status') && opcache_get_status()['opcache_enabled'] && !ini_get('opcache.save_comments')) {
print 'Systems with OPcache installed must have <a href="http://php.net/manual/en/opcache.configuration.php#ini.opcache.save-comments">opcache.save_comments</a> enabled.';
exit();
}
// Start the installer. // Start the installer.
$class_loader = require_once 'autoload.php'; $class_loader = require_once 'autoload.php';
require_once __DIR__ . '/includes/install.core.inc'; require_once __DIR__ . '/includes/install.core.inc';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment