4 // if you don't want to setup permissions the proper way, just uncomment the following PHP line
5 // read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
10 require_once __DIR__
.'/bootstrap.php.cache';
11 require_once __DIR__
.'/AppKernel.php';
13 use Symfony\Bundle\FrameworkBundle\Console\Application
;
14 use Symfony\Component\Console\Input\ArgvInput
;
15 use Symfony\Component\Debug\Debug
;
17 $input = new ArgvInput();
18 $env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev');
19 $debug = getenv('SYMFONY_DEBUG') !== '0' && !$input->hasParameterOption(array('--no-debug', '')) && $env !== 'prod';
25 $kernel = new AppKernel($env, $debug);
26 $application = new Application($kernel);
27 $application->run($input);