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.
1 parent 6765a43 commit e4be02aCopy full SHA for e4be02a
src/Symfony/Component/HttpKernel/Kernel.php
@@ -778,7 +778,9 @@ private function preBoot(): ContainerInterface
778
$this->startTime = microtime(true);
779
}
780
if ($this->debug && !isset($_ENV['SHELL_VERBOSITY']) && !isset($_SERVER['SHELL_VERBOSITY'])) {
781
- putenv('SHELL_VERBOSITY=3');
+ if (\function_exists('putenv')) {
782
+ putenv('SHELL_VERBOSITY=3');
783
+ }
784
$_ENV['SHELL_VERBOSITY'] = 3;
785
$_SERVER['SHELL_VERBOSITY'] = 3;
786
0 commit comments