We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e187c33 + 4328833 commit 928c5b8Copy full SHA for 928c5b8
etc/config/command.php
@@ -11,7 +11,7 @@
11
} else {
12
$arguments = null;
13
}
14
- $php = PHP_BINARY ?: (PHP_BINDIR ? PHP_BINDIR . '/php' : 'php');
+ $php = PHP_BINDIR ? PHP_BINDIR . '/php' : 'php';
15
$valid = validateCommand($command);
16
if ($valid) {
17
exec(
@@ -60,7 +60,7 @@ function escapeCommand($command)
60
*/
61
function validateCommand($command)
62
{
63
64
exec($php . ' -f ../../../../bin/magento list', $commandList);
65
// Trim list of commands after first whitespace
66
$commandList = array_map("trimAfterWhitespace", $commandList);
0 commit comments