Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df4d6d6

Browse files
committed
don't override existing verbosity env var
1 parent 1d7d564 commit df4d6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function boot()
120120

121121
return;
122122
}
123-
if ($this->debug && !isset($_SERVER['SHELL_VERBOSITY'])) {
123+
if ($this->debug && !isset($_ENV['SHELL_VERBOSITY']) && !isset($_SERVER['SHELL_VERBOSITY'])) {
124124
putenv('SHELL_VERBOSITY=3');
125125
$_ENV['SHELL_VERBOSITY'] = 3;
126126
$_SERVER['SHELL_VERBOSITY'] = 3;

0 commit comments

Comments
 (0)