Browse Source

added autoloading path for yii (CLI) when installed from yii2-dev (#15812)

tags/3.0.0-alpha1
Tobias Munk 7 years ago committed by Alexander Makarov
parent
commit
25ffc7cefd
  1. 1
      framework/yii

1
framework/yii

@ -13,6 +13,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', true);
$composerAutoload = [
__DIR__ . '/../vendor/autoload.php', // in yii2-dev repo
__DIR__ . '/../../autoload.php', // installed as a composer binary
__DIR__ . '/../../../autoload.php', // installed as a composer binary from yii2-dev repo
];
$vendorPath = null;
foreach ($composerAutoload as $autoload) {

Loading…
Cancel
Save