diff options
Diffstat (limited to 'app/console')
-rwxr-xr-x | app/console | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/app/console b/app/console index fa6a36e2..3b4c367c 100755 --- a/app/console +++ b/app/console | |||
@@ -1,18 +1,20 @@ | |||
1 | #!/usr/bin/env php | 1 | #!/usr/bin/env php |
2 | <?php | 2 | <?php |
3 | 3 | ||
4 | use Symfony\Bundle\FrameworkBundle\Console\Application; | ||
5 | use Symfony\Component\Console\Input\ArgvInput; | ||
6 | use Symfony\Component\Debug\Debug; | ||
7 | |||
4 | // if you don't want to setup permissions the proper way, just uncomment the following PHP line | 8 | // 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 | 9 | // read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information |
6 | //umask(0000); | 10 | //umask(0000); |
7 | 11 | ||
8 | set_time_limit(0); | 12 | set_time_limit(0); |
9 | 13 | ||
10 | require_once __DIR__.'/bootstrap.php.cache'; | 14 | /** |
11 | require_once __DIR__.'/AppKernel.php'; | 15 | * @var Composer\Autoload\ClassLoader $loader |
12 | 16 | */ | |
13 | use Symfony\Bundle\FrameworkBundle\Console\Application; | 17 | $loader = require __DIR__.'/autoload.php'; |
14 | use Symfony\Component\Console\Input\ArgvInput; | ||
15 | use Symfony\Component\Debug\Debug; | ||
16 | 18 | ||
17 | $input = new ArgvInput(); | 19 | $input = new ArgvInput(); |
18 | $env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev'); | 20 | $env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev'); |