mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 00:40:06 +01:00
Make sure Sites dir is linked
This commit is contained in:
@@ -46,6 +46,7 @@ function createConfigurationDirectory()
|
||||
$oldPath = posix_getpwuid(fileowner(__FILE__))['dir'].'/.valet';
|
||||
|
||||
if ($this->files->isDir($oldPath)) {
|
||||
$this->prependPath(VALET_HOME_PATH.'/Sites');
|
||||
rename($oldPath, VALET_HOME_PATH);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user