mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
fix sites directory
This commit is contained in:
@@ -79,9 +79,9 @@ function unlink($name)
|
||||
*/
|
||||
function pruneLinks()
|
||||
{
|
||||
if ($this->files->isDir($sitesPath = $this->sitesPath())) {
|
||||
$this->files->removeBrokenLinksAt($sitesPath);
|
||||
}
|
||||
$this->files->ensureDirExists($this->sitesPath(), user());
|
||||
|
||||
$this->files->removeBrokenLinksAt($this->sitesPath());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user