mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Fix DnsMasq path, remove incorrect use of rewrite secure
This commit is contained in:
@@ -87,6 +87,9 @@ function copyExampleConfig()
|
||||
*/
|
||||
function appendCustomConfigImport($customConfigPath)
|
||||
{
|
||||
$contents = preg_replace('/^conf-file=.*\/\.valet\/.*$/m', '', $this->files->get($this->configPath));
|
||||
$this->files->putAsUser($this->configPath, $contents);
|
||||
|
||||
if (! $this->customConfigIsBeingImported($customConfigPath)) {
|
||||
$this->files->appendAsUser(
|
||||
$this->configPath,
|
||||
|
||||
Reference in New Issue
Block a user