1
0
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:
Josh Manders
2017-02-20 20:32:33 -06:00
parent d8c137876f
commit d80b996adf
4 changed files with 102 additions and 2 deletions

View File

@@ -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.
*/