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

Fix incorrect path replacement for server.php

This commit is contained in:
Adam Wathan
2016-08-09 14:57:35 -04:00
parent 3409f2998b
commit 4aee028ca5
5 changed files with 7 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ function installCaddyFile()
{
$this->files->putAsUser(
VALET_HOME_PATH.'/Caddyfile',
str_replace('VALET_HOME_PATH', VALET_HOME_PATH, $this->files->get(__DIR__.'/../stubs/Caddyfile'))
str_replace(['VALET_HOME_PATH', 'VALET_SERVER_PATH'], [VALET_HOME_PATH, VALET_SERVER_PATH], $this->files->get(__DIR__.'/../stubs/Caddyfile'))
);
}