Skip to content

Commit

Permalink
refs #4224 do not check auto prepend/append config in test mode, as i…
Browse files Browse the repository at this point in the history
…t is used to generate full code coverage
  • Loading branch information
sgiehl committed Dec 20, 2013
1 parent 2a941c2 commit e9f5428
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/ProxyHttp.php
Expand Up @@ -176,8 +176,10 @@ public static function isPhpOutputCompressed()
});

// user defined handler via wrapper
$autoPrependFile = ini_get('auto_prepend_file');
$autoAppendFile = ini_get('auto_append_file');
if (!defined('PIWIK_TEST_MODE')) {
$autoPrependFile = ini_get('auto_prepend_file');
$autoAppendFile = ini_get('auto_append_file');
}

return !empty($zlibOutputCompression) ||
!empty($outputHandler) ||
Expand Down

0 comments on commit e9f5428

Please sign in to comment.