From f30565fcfd679b124b952baa46b140ad16d51523 Mon Sep 17 00:00:00 2001 From: Allen Shaw Date: Sun, 31 Jan 2016 17:23:31 -0600 Subject: [PATCH] Bug-fix: Bad path to Drupal's vendor/autoload.php file. --- CRM/Utils/System/Drupal8.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1