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:
@@ -540,8 +540,7 @@
|
|||||||
$site = basename(getcwd());
|
$site = basename(getcwd());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $phpVersion) {
|
if (is_null($phpVersion) && $phpVersion = Site::phpRcVersion($site)) {
|
||||||
$phpVersion = Site::phpRcVersion($site);
|
|
||||||
info("Found '{$site}/.valetphprc' specifying version: {$phpVersion}");
|
info("Found '{$site}/.valetphprc' specifying version: {$phpVersion}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user