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
path: root/core
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-10-02 09:53:37 +0400
committermattab <matthieu.aubry@gmail.com>2014-10-02 09:53:37 +0400
commit6150aaca8f7154f396bbf4857023564bb9fad3de (patch)
tree8898bfee8434009088f9d797e9584f1d83c4404e /core
parentc9bc948e07f44ed962ab381538dce76f1dd83c90 (diff)
Refs #6224 check for HHVM first to avoid it picked up by the isValidPhpType call @voidswitch Does this fix the issue for you?
Diffstat (limited to 'core')
-rw-r--r--core/CliMulti/CliPhp.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/CliMulti/CliPhp.php b/core/CliMulti/CliPhp.php
index 1b164835d4..9ee5b191b1 100644
--- a/core/CliMulti/CliPhp.php
+++ b/core/CliMulti/CliPhp.php
@@ -18,13 +18,13 @@ class CliPhp
{
if (defined('PHP_BINARY')) {
- if ($this->isValidPhpType(PHP_BINARY)) {
- return PHP_BINARY . ' -q';
- }
-
if ($this->isHhvmBinary(PHP_BINARY)) {
return PHP_BINARY . ' --php';
}
+
+ if ($this->isValidPhpType(PHP_BINARY)) {
+ return PHP_BINARY . ' -q';
+ }
}
$bin = '';