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