Fix the composer autoload paths for the doctrine CLT
This commit is contained in:
parent
2b24478f05
commit
a6a9c72a75
@ -21,7 +21,7 @@ use Symfony\Component\Console\Helper\HelperSet;
|
|||||||
use Doctrine\ORM\Tools\Console\ConsoleRunner;
|
use Doctrine\ORM\Tools\Console\ConsoleRunner;
|
||||||
|
|
||||||
$autoloadFiles = array(__DIR__ . '/../vendor/autoload.php',
|
$autoloadFiles = array(__DIR__ . '/../vendor/autoload.php',
|
||||||
__DIR__ . '/../vendor/autoload.php');
|
__DIR__ . '/../../../autoload.php');
|
||||||
|
|
||||||
foreach ($autoloadFiles as $autoloadFile) {
|
foreach ($autoloadFiles as $autoloadFile) {
|
||||||
if (file_exists($autoloadFile)) {
|
if (file_exists($autoloadFile)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user