diff --git a/autoload.php b/autoload.php index 690e09f..caedb48 100644 --- a/autoload.php +++ b/autoload.php @@ -16,4 +16,4 @@ * @see core/modules/statistics/statistics.php */ -return require_once __DIR__ . '/core/vendor/autoload.php'; +return require __DIR__ . '/core/vendor/autoload.php'; diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 7e33986..b78fd9d 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -98,7 +98,7 @@ function install_drupal($class_loader, $settings = array()) { // infrastructure in https://www.drupal.org/node/2389243 if (is_array($class_loader) && $settings === array()) { $settings = $class_loader; - $class_loader = require __DIR__ . '/../vendor/autoload.php'; + $class_loader = require __DIR__ . '/../../autoload.php'; } global $install_state;