diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-10-02 09:53:37 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-10-02 09:53:37 +0400 |
commit | 6150aaca8f7154f396bbf4857023564bb9fad3de (patch) | |
tree | 8898bfee8434009088f9d797e9584f1d83c4404e /core | |
parent | c9bc948e07f44ed962ab381538dce76f1dd83c90 (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.php | 8 |
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 = ''; |