Verified Commit 012776a0 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3412135 by markdorison: Output buffering status check fails when run via CLI

(cherry picked from commit b378c411)
parent 6e566f5d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'),