1
0
mirror of synced 2025-03-06 12:56:10 +03:00

Merge pull request #1526 from zinovyev/break-on-autoloader-selected

Break on autoloader selected
This commit is contained in:
Marco Pivetta 2015-10-04 15:04:42 -03:00
commit dd2068777c

View File

@ -26,6 +26,7 @@ $autoloadFiles = array(__DIR__ . '/../vendor/autoload.php',
foreach ($autoloadFiles as $autoloadFile) { foreach ($autoloadFiles as $autoloadFile) {
if (file_exists($autoloadFile)) { if (file_exists($autoloadFile)) {
require_once $autoloadFile; require_once $autoloadFile;
break;
} }
} }
@ -63,4 +64,4 @@ if ( ! ($helperSet instanceof HelperSet)) {
} }
} }
\Doctrine\ORM\Tools\Console\ConsoleRunner::run($helperSet, $commands); ConsoleRunner::run($helperSet, $commands);