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

Grueing around

This commit is contained in:
Adam Wathan
2016-10-25 11:57:19 -04:00
parent aeb2a4423b
commit 0da0fb3b1b
5 changed files with 39 additions and 42 deletions

View File

@@ -83,15 +83,14 @@ function createExtensionsDirectory()
}
/**
* Create the directory for Caddy log.
* Create the directory for Nginx logs.
*
* @return void
*/
function createLogDirectory()
{
$this->files->ensureDirExists(VALET_HOME_PATH.'/Log', user());
$this->files->touch(VALET_HOME_PATH.'/Log/access.log');
$this->files->touch(VALET_HOME_PATH.'/Log/error.log');
$this->files->touch(VALET_HOME_PATH.'/Log/nginx-error.log');
}
/**