Skip to content

Commit

Permalink
[HttpKernel] Add parameters kernel.runtime_mode and `kernel.runtime…
Browse files Browse the repository at this point in the history
…_mode.*`, all set from env var `APP_RUNTIME_MODE`
  • Loading branch information
nicolas-grekas committed Oct 18, 2023
1 parent 2970be3 commit f98c177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ public function send(/* bool $flush = true */): static
fastcgi_finish_request();
} elseif (\function_exists('litespeed_finish_request')) {
litespeed_finish_request();
} elseif (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true)) {
} elseif (!\in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
static::closeOutputBuffers(0, true);
flush();
}
Expand Down

0 comments on commit f98c177

Please sign in to comment.