Skip to content
Snippets Groups Projects
Commit 8bd143f4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix a bug while creating initial symlinks

parent 61cb3833
Branches
Tags
1 merge request!30Merging develop into main
Pipeline #714248 passed
......@@ -143,7 +143,7 @@ class Handler extends BaseHandler {
// Link Drupal site's config directory.
if (!$fs->exists($webRoot . '/sites/default/files/config')) {
$rel = substr($fs->makePathRelative($projectRoot . '/config/default', $projectRoot . '/files/default/files'), 3, -1);
$rel = substr($fs->makePathRelative($projectRoot . '/config/default', $projectRoot . '/files/default/files/config'), 3, -1);
$fs->symlink($rel, $webRoot . '/sites/default/files/config');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment