From 1f3bff9e06a7846d2c9e2a8ad7bb293ae464954b Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 6 Oct 2012 10:52:48 -0400 Subject: [PATCH 1/2] Add ability to install 'drupal-core' projects to the project root --- src/Composer/Installers/DrupalInstaller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Installers/DrupalInstaller.php b/src/Composer/Installers/DrupalInstaller.php index 193e6008..962c2a05 100644 --- a/src/Composer/Installers/DrupalInstaller.php +++ b/src/Composer/Installers/DrupalInstaller.php @@ -4,6 +4,7 @@ class DrupalInstaller extends BaseInstaller { protected $locations = array( + 'core' => '', 'module' => 'modules/{$name}/', 'theme' => 'themes/{$name}/', 'profile' => 'profiles/{$name}/', From d76a7b591cd1b1e5fe7fb6b11337af3354abab5a Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 13 Oct 2012 11:12:19 -0300 Subject: [PATCH 2/2] Install to "core" rather than the project root --- src/Composer/Installers/DrupalInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installers/DrupalInstaller.php b/src/Composer/Installers/DrupalInstaller.php index 962c2a05..56705615 100644 --- a/src/Composer/Installers/DrupalInstaller.php +++ b/src/Composer/Installers/DrupalInstaller.php @@ -4,7 +4,7 @@ class DrupalInstaller extends BaseInstaller { protected $locations = array( - 'core' => '', + 'core' => 'core', 'module' => 'modules/{$name}/', 'theme' => 'themes/{$name}/', 'profile' => 'profiles/{$name}/',