From: Allen Shaw Date: Sun, 31 Jan 2016 23:23:31 +0000 (-0600) Subject: Bug-fix: Bad path to Drupal's vendor/autoload.php file. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f30565fcfd679b124b952baa46b140ad16d51523;p=civicrm-core.git Bug-fix: Bad path to Drupal's vendor/autoload.php file. --- diff --git a/CRM/Utils/System/Drupal8.php b/CRM/Utils/System/Drupal8.php index d626e9cb3d..1bd2a419da 100644 --- a/CRM/Utils/System/Drupal8.php +++ b/CRM/Utils/System/Drupal8.php @@ -450,7 +450,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { chdir($root); // Create a mock $request object - $autoloader = require_once $root . '/core/vendor/autoload.php'; + $autoloader = require_once $root . '/vendor/autoload.php'; // @Todo: do we need to handle case where $_SERVER has no HTTP_HOST key, ie. when run via cli? $request = new \Symfony\Component\HttpFoundation\Request(array(), array(), array(), array(), array(), $_SERVER);