aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/console
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-12-22 13:00:37 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-01-15 09:35:38 +0100
commit5c895a7fd15822856fb407910264c5d95e1e223c (patch)
treea850ff9ccfd8067d4f8cdd341a2dda4324008afa /app/console
parent619cc45359ead519b64129181a07e14160fbbfcb (diff)
downloadwallabag-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-xapp/console14
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
4use Symfony\Bundle\FrameworkBundle\Console\Application;
5use Symfony\Component\Console\Input\ArgvInput;
6use 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
8set_time_limit(0); 12set_time_limit(0);
9 13
10require_once __DIR__.'/bootstrap.php.cache'; 14/**
11require_once __DIR__.'/AppKernel.php'; 15 * @var Composer\Autoload\ClassLoader $loader
12 16 */
13use Symfony\Bundle\FrameworkBundle\Console\Application; 17$loader = require __DIR__.'/autoload.php';
14use Symfony\Component\Console\Input\ArgvInput;
15use 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');