1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Remove the error control operator

This commit is contained in:
Jefersson Nathan 2014-07-23 17:09:47 -03:00
parent 499f09fc99
commit 70fe21b30a

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');