diff options
Diffstat (limited to 'core/ProxyHttp.php')
-rw-r--r-- | core/ProxyHttp.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/ProxyHttp.php b/core/ProxyHttp.php index 692e8219bb..68b7dc9eb1 100644 --- a/core/ProxyHttp.php +++ b/core/ProxyHttp.php @@ -176,8 +176,10 @@ class ProxyHttp }); // 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) || |