Skip to content
Snippets Groups Projects
Commit 47d78437 authored by jurgenhaas's avatar jurgenhaas
Browse files

docker/l3d#58 Move project settings out of composer.json

parent 335d74df
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ class Handler extends BaseHandler {
* {@inheritdoc}
*/
protected function postInit(): void {
$this->env->put('PHP_VERSION', $this->config->readValue('php/version'), TRUE);
$this->env->put('PHP_VERSION', $this->config->readValue(['php', 'version']), TRUE);
}
/**
......@@ -149,13 +149,14 @@ class Handler extends BaseHandler {
* Whether to overwrite existing config files.
*/
public function configureProject($overwrite = FALSE): void {
$this->init();
// We only do the fancy stuff for developers.
if (!$this->isDevMode()) {
return;
}
$this->init();
$fs = new Filesystem();
$installationManager = $this->composer->getInstallationManager();
......@@ -312,7 +313,7 @@ class Handler extends BaseHandler {
],
'vhost.conf' => [
'dest' => $projectRoot . '/apache',
'condition' => $this->config->readValue('webserver/overwriteconfig'),
'condition' => $this->config->readValue(['webserver', 'overwriteconfig']),
],
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment