mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
pretty print sites
This commit is contained in:
@@ -28,6 +28,7 @@ function install()
|
||||
$this->createSitesDirectory();
|
||||
$this->createExtensionsDirectory();
|
||||
$this->createLogDirectory();
|
||||
$this->createCertificatesDirectory();
|
||||
$this->writeBaseConfiguration();
|
||||
|
||||
$this->files->chown($this->path(), user());
|
||||
@@ -94,6 +95,16 @@ function createLogDirectory()
|
||||
$this->files->touch(VALET_HOME_PATH.'/Log/nginx-error.log');
|
||||
}
|
||||
|
||||
/**
|
||||
* Create the directory for SSL certificates.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function createCertificatesDirectory()
|
||||
{
|
||||
$this->files->ensureDirExists(VALET_HOME_PATH.'/Certificates', user());
|
||||
}
|
||||
|
||||
/**
|
||||
* Write the base, initial configuration for Valet.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user