Skip to content

Commit

Permalink
Fixed autoload inclusion to match new composer paths and to work in p…
Browse files Browse the repository at this point in the history
…ackagist installations
  • Loading branch information
vworldat committed May 3, 2012
1 parent 1e5a5f5 commit 9280a14
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/composer-yaml
@@ -1,7 +1,11 @@
#!/usr/bin/php
<?php

require __DIR__.'/../vendor/.composer/autoload.php';
if (file_exists(__DIR__.'/../vendor/autoload.php')) {
require __DIR__.'/../vendor/autoload.php';
} elseif (file_exists(__DIR__.'/../../../autoload.php')) {
require __DIR__.'/../../../autoload.php';
}

use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\InputInterface;
Expand Down

0 comments on commit 9280a14

Please sign in to comment.