1
0
mirror of synced 2024-12-04 18:56:06 +03:00

Merge pull request #1087 from malukenho/patch-1

Remove the error control operator
This commit is contained in:
Marco Pivetta 2014-07-24 00:35:18 +02:00
commit 2b24478f05

View File

@ -20,7 +20,14 @@
use Symfony\Component\Console\Helper\HelperSet;
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');