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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user