Commit e8698f98 authored by Julien Fastré's avatar Julien Fastré

set app/autoload.php again in console script

parent 73060bb2
......@@ -8,7 +8,7 @@ use Symfony\Component\Debug\Debug;
// for more information
require __DIR__.'/../vendor/autoload.php';
require __DIR__.'/autoload.php';
$input = new ArgvInput();
$env = $input->getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev', true);
$debug = getenv('SYMFONY_DEBUG') !== '0' && !$input->hasParameterOption('--no-debug', true) && $env !== 'prod';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment