1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 00:20:08 +01:00

create sites directory

This commit is contained in:
Taylor Otwell
2016-05-13 12:37:24 -05:00
parent 49c879c358
commit 9a1ad4e002

View File

@@ -25,6 +25,7 @@ function install()
{
$this->createConfigurationDirectory();
$this->createDriversDirectory();
$this->createSitesDirectory();
$this->createExtensionsDirectory();
$this->writeBaseConfiguration();
@@ -60,6 +61,16 @@ function createDriversDirectory()
);
}
/**
* Create the Valet sites directory.
*
* @return void
*/
function createSitesDirectory()
{
$this->files->ensureDirExists(VALET_HOME_PATH.'/Sites', user());
}
/**
* Create the directory for the Valet extensions.
*