We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1220f8a commit 474d00bCopy full SHA for 474d00b
1 file changed
src/Environment/Command/Container/Php.php
@@ -91,7 +91,10 @@ protected function askQuestions()
91
$this->_config['environment']['VIRTUAL_HOST'] = '.' . $dockername . '.docker';
92
93
94
- $useCustomWebroot = false;
+ $useCustomWebroot = isset($this->_config['relative_webroot_dir'])
95
+ && strlen($this->_config['relative_webroot_dir']) > 0
96
+ ? true
97
+ : false;
98
99
$this->askYesNoQuestion(
100
'Use custom webroot',
@@ -100,6 +103,8 @@ protected function askQuestions()
103
101
104
if ($useCustomWebroot) {
102
105
$this->_editCustomWebroot();
106
+ } else {
107
+ $this->_config['relative_webroot_dir'] = '';
108
}
109
110
$editEnvironmentVariables = false;
0 commit comments