diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-22 13:00:37 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-15 09:35:38 +0100 |
commit | 5c895a7fd15822856fb407910264c5d95e1e223c (patch) | |
tree | a850ff9ccfd8067d4f8cdd341a2dda4324008afa /app/console | |
parent | 619cc45359ead519b64129181a07e14160fbbfcb (diff) | |
download | wallabag-5c895a7fd15822856fb407910264c5d95e1e223c.tar.gz wallabag-5c895a7fd15822856fb407910264c5d95e1e223c.tar.zst wallabag-5c895a7fd15822856fb407910264c5d95e1e223c.zip |
Update bundle & stock file
- update stock file (AppKernel, app.php, etc ..) from SymfonyStandard edition)
- update bundle to latest release
- remove security on profiler
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'); |