Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Pathing issue fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
donatj committed Aug 7, 2014
1 parent eab145b commit 6907e86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Quorum/Installer/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Installer extends LibraryInstaller {
* @var array
*/
private $supportedTypes = array(
'capstone' => 'QuorumInstaller',
'quorum' => 'QuorumInstaller',
);

/**
Expand All @@ -28,7 +28,7 @@ public function getInstallPath( PackageInterface $package ) {
);
}

$class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
$class = 'Quorum\\Installer\\' . $this->supportedTypes[$frameworkType];
$installer = new $class($package, $this->composer);

return $installer->getInstallPath($package, $frameworkType);
Expand Down Expand Up @@ -89,7 +89,7 @@ protected function findFrameworkType( $type ) {
protected function getLocationPattern( $frameworkType ) {
$pattern = false;
if( !empty($this->supportedTypes[$frameworkType]) ) {
$frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
$frameworkClass = 'Quorum\\Installer\\' . $this->supportedTypes[$frameworkType];
/** @var BaseInstaller $framework */
$framework = new $frameworkClass;
$locations = array_keys($framework->getLocations());
Expand Down

0 comments on commit 6907e86

Please sign in to comment.