Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Moved require target at bin/phpmig. because the composer is moving autoload files. #14

Merged
merged 1 commit into from

2 participants

Takuya Nishigori Dave Marshall
Takuya Nishigori

Hi, I'm using Phpmig with composer.

composer moved autoload files from vendor/.composer/* to vendor/ .

So, want to be modifying the source to use it too.

Please read more.

Dave Marshall davedevelopment merged commit e19a4cb into from
Dave Marshall

Thank you!

Takuya Nishigori nishigori deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 15, 2012
  1. Takuya Nishigori
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 bin/phpmig
8 bin/phpmig
View
@@ -14,10 +14,10 @@ if (!defined('PHPMIG_VERSION')) {
define('PHPMIG_VERSION', 'dev');
}
-if (is_file(__DIR__ . '/../vendor/.composer/autoload.php')) {
- require_once __DIR__ . '/../vendor/.composer/autoload.php';
-} else if (is_file(__DIR__ . '/../../../.composer/autoload.php')) {
- require_once __DIR__ . '/../../../.composer/autoload.php';
+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_dir(__DIR__ . '/../src/Phpmig')) {
require_once __DIR__ . "/../src/Phpmig/autoload.php.dist";
} else {
Something went wrong with that request. Please try again.