mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
Merge remote-tracking branch 'upstream/master' into feat/proxy-multiple-domains
This commit is contained in:
@@ -52,7 +52,7 @@ private function getLinkNameByCurrentDir(): ?string
|
||||
public function host(string $path): ?string
|
||||
{
|
||||
foreach ($this->files->scandir($this->sitesPath()) as $link) {
|
||||
if (realpath($this->sitesPath($link)) === $path) {
|
||||
if ($path === realpath($this->sitesPath($link))) {
|
||||
return $link;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user