Commit 23dc6c28 authored by omega8cc's avatar omega8cc

Issue #2100181 by ergonlogic - Symlink missing for D6 subdir sites.

parent bf3e6fd3
......@@ -497,7 +497,7 @@ function _provision_drupal_maintain_aliases() {
if (!d()->redirection) {
foreach (d()->aliases as $alias) {
if ($alias = trim($alias)) {
provision_file()->symlink(d()->uri, d()->root . '/sites/' . $alias)
provision_file()->symlink(d()->uri, d()->root . '/sites/' . str_replace('/', '.', $alias))
->succeed('Created symlink for alias @target')
->fail('Could not create symlink for alias @target');
d()->service('http')->sync(d()->root . '/sites/' . $alias);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment