diff --git a/src/AuthserverInstaller.php b/src/AuthserverInstaller.php index 9e43dc6..e6894b2 100644 --- a/src/AuthserverInstaller.php +++ b/src/AuthserverInstaller.php @@ -40,17 +40,12 @@ class AuthserverInstaller extends LibraryInstaller public function __construct(IOInterface $io, Composer $composer) { parent::__construct($io, $composer); + if($composer->getPackage()->getType() === 'project') + $this->vendorDir = 'plugins'; } public function supports($packageType) { return $packageType === 'authserver-plugin'; } - - public function getInstallPath(PackageInterface $package) - { - return parent::getInstallPath($package); // TODO: Change the autogenerated stub - } - - }