diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-02-13 02:52:36 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-02-13 02:52:36 +0400 |
commit | c1db8932399996ddbc8c539dea3aa85ea37be203 (patch) | |
tree | c32e99abe81a4b2223133ec0c6a7c59503bb99c3 /core/CliMulti.php | |
parent | dd56e1cf4d9364e3aeb6b2c6067e34947aa82aa8 (diff) |
Fixes #4673 In case the PHP binary used is php-cgi instead of PHP cli, add -q flag to hide http headers from output.
Diffstat (limited to 'core/CliMulti.php')
-rw-r--r-- | core/CliMulti.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/CliMulti.php b/core/CliMulti.php index 023f4f1efa..c24c307bd1 100644 --- a/core/CliMulti.php +++ b/core/CliMulti.php @@ -94,7 +94,7 @@ class CliMulti { { $bin = $this->findPhpBinary(); - return sprintf('%s %s/console climulti:request %s > %s 2>&1 &', + return sprintf('%s -q %s/console climulti:request %s > %s 2>&1 &', $bin, PIWIK_INCLUDE_PATH, escapeshellarg($query), $outputFile); } |