We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7a4138 + 60c0fc3 commit 3fe71d7Copy full SHA for 3fe71d7
symfony/console/3.3/bin/console
@@ -23,8 +23,8 @@ if (!isset($_SERVER['APP_ENV'])) {
23
}
24
25
$input = new ArgvInput();
26
-$env = $input->getParameterOption(['--env', '-e'], $_SERVER['APP_ENV'] ?? 'dev');
27
-$debug = ($_SERVER['APP_DEBUG'] ?? ('prod' !== $env)) && !$input->hasParameterOption(['--no-debug', '']);
+$env = $input->getParameterOption(['--env', '-e'], $_SERVER['APP_ENV'] ?? 'dev', true);
+$debug = ($_SERVER['APP_DEBUG'] ?? ('prod' !== $env)) && !$input->hasParameterOption('--no-debug', true);
28
29
if ($debug) {
30
umask(0000);
0 commit comments