1
0
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:
Robert Boes
2023-10-02 15:49:35 +02:00
36 changed files with 379 additions and 237 deletions

View File

@@ -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;
}
}