Merge pull request #1087 from malukenho/patch-1
Remove the error control operator
This commit is contained in:
commit
2b24478f05
@ -20,7 +20,14 @@
|
|||||||
use Symfony\Component\Console\Helper\HelperSet;
|
use Symfony\Component\Console\Helper\HelperSet;
|
||||||
use Doctrine\ORM\Tools\Console\ConsoleRunner;
|
use Doctrine\ORM\Tools\Console\ConsoleRunner;
|
||||||
|
|
||||||
(@include_once __DIR__ . '/../vendor/autoload.php') || @include_once __DIR__ . '/../../../autoload.php';
|
$autoloadFiles = array(__DIR__ . '/../vendor/autoload.php',
|
||||||
|
__DIR__ . '/../vendor/autoload.php');
|
||||||
|
|
||||||
|
foreach ($autoloadFiles as $autoloadFile) {
|
||||||
|
if (file_exists($autoloadFile)) {
|
||||||
|
require_once $autoloadFile;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$directories = array(getcwd(), getcwd() . DIRECTORY_SEPARATOR . 'config');
|
$directories = array(getcwd(), getcwd() . DIRECTORY_SEPARATOR . 'config');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user