Skip to content

Commit

Permalink
Fixes #4673 In case the PHP binary used is php-cgi instead of PHP cli…
Browse files Browse the repository at this point in the history
…, add -q flag to hide http headers from output.
  • Loading branch information
mattab committed Feb 12, 2014
1 parent dd56e1c commit c1db893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/CliMulti.php
Expand Up @@ -94,7 +94,7 @@ private function buildCommand($query, $outputFile)
{
$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);
}

Expand Down

0 comments on commit c1db893

Please sign in to comment.