Issue #3412135 by markdorison: Output buffering status check fails when run via CLI
(cherry picked from commit b378c4115e
)
merge-requests/6031/head
parent
6e566f5d7f
commit
012776a0f8
|
@ -503,7 +503,7 @@ function system_requirements($phase) {
|
|||
}
|
||||
}
|
||||
|
||||
if ($phase === 'runtime') {
|
||||
if ($phase === 'runtime' && PHP_SAPI !== 'cli') {
|
||||
if (!function_exists('fastcgi_finish_request') && !function_exists('litespeed_finish_request') && !ob_get_status()) {
|
||||
$requirements['output_buffering'] = [
|
||||
'title' => t('Output Buffering'),
|
||||
|
|
Loading…
Reference in New Issue