1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00

Update cli/valet.php

This commit is contained in:
Nasir Uddin Nobin
2022-03-23 03:25:41 +06:00
committed by GitHub
parent faeee5eb9a
commit 67ba790e37

View File

@@ -562,7 +562,7 @@
})->descriptions('List all sites using isolated versions of PHP.');
/**
* Get the PHP executable path for a site
* Get the PHP executable path for a site
*/
$app->command('which-php [site] [--skip-cache]', function ($site, $skipCache) {
$host = Site::host($site ?: getcwd()).'.'.Configuration::read()['tld'];