Skip to content
Browse files

Added require target (case without config property into composer.json).

  • Loading branch information...
1 parent e19a4cb commit b22d3cdec61d676cdaaf658a4703b064ea878d98 @nishigori nishigori committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/phpmig
View
2 bin/phpmig
@@ -18,6 +18,8 @@ if (is_file(__DIR__ . '/../vendor/autoload.php')) {
require_once __DIR__ . '/../vendor/autoload.php';
} else if (is_file(__DIR__ . '/../../../autoload.php')) {
require_once __DIR__ . '/../../../autoload.php';
+} else if (is_file(__DIR__ . '/../autoload.php')) {
+ require_once __DIR__ . '/../autoload.php';
} else if (is_dir(__DIR__ . '/../src/Phpmig')) {
require_once __DIR__ . "/../src/Phpmig/autoload.php.dist";
} else {

0 comments on commit b22d3cd

Please sign in to comment.
Something went wrong with that request. Please try again.