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:
authormattab <matthieu.aubry@gmail.com>2014-05-21 07:41:03 +0400
committermattab <matthieu.aubry@gmail.com>2014-05-21 07:41:03 +0400
commitce8b82e4ce10f22d9dcd8ca7bdc0ad0c78116741 (patch)
tree2a251318d3eb51902e84b2bca1f15aedd12e622e /core/CliMulti.php
parent88e0d5d2a46d63fd470f75ac8afaef940ecc882b (diff)
Fixes #5204 Add new system check whether the Piwik server supports managing processes in CLI
Diffstat (limited to 'core/CliMulti.php')
-rw-r--r--core/CliMulti.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/CliMulti.php b/core/CliMulti.php
index 740528ecb3..70218d5139 100644
--- a/core/CliMulti.php
+++ b/core/CliMulti.php
@@ -159,9 +159,7 @@ class CliMulti {
*/
private function supportsAsync()
{
- return !SettingsServer::isWindows()
- && Process::isSupported()
- && $this->findPhpBinary();
+ return Process::isSupported() && $this->findPhpBinary();
}
private function cleanup()
@@ -233,6 +231,7 @@ class CliMulti {
if (!empty($bin)) {
return trim($bin);
}
+ return false;
}
private function executeAsyncCli($url, Output $output, $cmdId)