1
0
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:
Taylor Otwell
2016-05-13 12:39:40 -05:00
parent 2ea59d73d3
commit 06166cfae7

View File

@@ -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());
}
/**