mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 09:10:03 +01:00
Fix old path
This commit is contained in:
@@ -43,7 +43,7 @@ function createConfigurationDirectory()
|
|||||||
{
|
{
|
||||||
$this->files->ensureDirExists(VALET_HOME_PATH, user());
|
$this->files->ensureDirExists(VALET_HOME_PATH, user());
|
||||||
|
|
||||||
$oldPath = posix_getpwuid(fileowner(__FILE__))['dir'].'/.config/valet';
|
$oldPath = posix_getpwuid(fileowner(__FILE__))['dir'].'/.valet';
|
||||||
|
|
||||||
if ($this->files->isDir($oldPath)) {
|
if ($this->files->isDir($oldPath)) {
|
||||||
rename($oldPath, VALET_HOME_PATH);
|
rename($oldPath, VALET_HOME_PATH);
|
||||||
|
|||||||
Reference in New Issue
Block a user