1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 08:40:09 +01:00

Modify php binary path to be based on brew prefix

This commit is contained in:
soilSpoon
2020-11-14 21:42:13 +09:00
parent c2fe653dd0
commit 6a4cb74392
3 changed files with 14 additions and 12 deletions

View File

@@ -16,6 +16,8 @@
define('VALET_LEGACY_HOME_PATH', $_SERVER['HOME'].'/.valet');
define('PHP_BINARY_PATH', (new CommandLine())->runAsUser('echo $(brew --prefix)/bin/php'));
/**
* Output the given text to the console.
*