Browse Source

fixed c&p error

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
d8dbe5a4d3
  1. 2
      extensions/composer/Installer.php

2
extensions/composer/Installer.php

@ -57,7 +57,7 @@ class Installer extends LibraryInstaller
$this->removePackage($initial); $this->removePackage($initial);
$this->addPackage($target); $this->addPackage($target);
// ensure the yii2-dev package also provides Yii.php in the same place as yii2 does // ensure the yii2-dev package also provides Yii.php in the same place as yii2 does
if ($package->getName() == 'yiisoft/yii2-dev') { if ($initial->getName() == 'yiisoft/yii2-dev') {
$this->linkYiiBaseFiles(); $this->linkYiiBaseFiles();
} }
} }

Loading…
Cancel
Save