Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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

@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.

@davedevelopment davedevelopment merged commit e19a4cb into davedevelopment:master
@davedevelopment

Thank you!

@nishigori nishigori deleted the unknown repository 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. @nishigori
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 bin/phpmig
View
8 bin/phpmig
@@ -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.