1
0
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:
Erik Berkun-Drevnig
2017-11-27 01:39:27 -05:00
parent 19fe60880c
commit f33bff81e9
3 changed files with 6 additions and 4 deletions

View File

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