Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/ProxyHttp.php6
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) ||