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:
authorsgiehl <stefan@piwik.org>2013-12-20 16:13:43 +0400
committersgiehl <stefan@piwik.org>2013-12-20 16:14:13 +0400
commite9f5428c9a0e9fe490be36b7c52e4b4defbba1c6 (patch)
treec1f6fdf31dbe53def43245dd48c9d76c4e918b93
parent2a941c21fa9050ff514e12e4dd8b108acf905930 (diff)
refs #4224 do not check auto prepend/append config in test mode, as it is used to generate full code coverage
-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) ||