Issue #2464055 by davidwbarratt, Mile23: Installation Failure on case insensitive file systems

8.1.x
Nathaniel Catchpole 2016-01-25 09:39:32 +09:00
parent 152dec005b
commit 42c1bc5f48
1 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,8 @@
// Change the directory to the Drupal root.
chdir('..');
// Store the Drupal root path.
$root_path = realpath('');
/**
* Global flag to indicate the site is in installation mode.
@ -32,6 +34,6 @@ if (function_exists('opcache_get_status') && opcache_get_status()['opcache_enabl
}
// Start the installer.
$class_loader = require_once 'autoload.php';
require_once __DIR__ . '/includes/install.core.inc';
$class_loader = require_once $root_path . '/autoload.php';
require_once $root_path . '/core/includes/install.core.inc';
install_drupal($class_loader);