1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- use Drupal\Component\Utility\OpCodeCache;
- chdir('..');
- $root_path = realpath('');
- define('MAINTENANCE_MODE', 'install');
- if (version_compare(PHP_VERSION, '5.5.9') < 0) {
- print 'Your PHP installation is too old. Drupal requires at least PHP 5.5.9. See the <a href="https://www.drupal.org/requirements">system requirements</a> page for more information.';
- exit;
- }
- $class_loader = require_once $root_path . '/autoload.php';
- 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();
- }
- require_once $root_path . '/core/includes/install.core.inc';
- install_drupal($class_loader);
|