diff options
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r-- | includes/bootstrap.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index b11a8c880..86d80dbdd 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1403,8 +1403,10 @@ function _drupal_bootstrap($phase) { } // Prepare for non-cached page workflow. - ob_start(); - drupal_page_header(); + if ($_SERVER['SERVER_SOFTWARE'] !== 'PHP CLI') { + ob_start(); + drupal_page_header(); + } break; case DRUPAL_BOOTSTRAP_LANGUAGE: |