Commit 954b0b5f by Carsten Brandt

more path fixes for apidoc command

parent b2eb8bce
......@@ -12,7 +12,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', false);
$composerAutoload = [
__DIR__ . '/vendor/autoload.php', // standalone with "composer install" run
__DIR__ . '/../autoload.php', // script is installed as a composer binary
__DIR__ . '/../../autoload.php', // script is installed as a composer binary
];
foreach($composerAutoload as $autoload) {
if (file_exists($autoload)) {
......@@ -23,7 +23,7 @@ foreach($composerAutoload as $autoload) {
$yiiDirs = [
__DIR__ . '/../../framework', // in yii2-dev repo
__DIR__ . '/vendor/yiisoft/yii2', // standalone with "composer install" run
__DIR__ . '/../yiisoft/yii2', // script is installed as a composer binary
__DIR__ . '/../../yiisoft/yii2', // script is installed as a composer binary
];
foreach($yiiDirs as $dir) {
if (file_exists($dir . '/Yii.php')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment