Commit a26e49c5 authored by Thomas Citharel's avatar Thomas Citharel 🌲

move comment at the right place

parent 93d91b3b
Pipeline #25906 passed with stage
in 5 minutes and 58 seconds
......@@ -165,10 +165,6 @@ class AsyncAccountGrav extends AbstractMakeAccount implements AsyncAccountInterf
break;
}
}
/**
* Set homepage for module
*/
}
/** Data */
......@@ -178,6 +174,9 @@ class AsyncAccountGrav extends AbstractMakeAccount implements AsyncAccountInterf
$systemFilePath = $this->accountsPath . '/' . $this->site->getSubdomain() . '/user/config/system.yaml';
$fs->copy($this->enginePath . '/user/config/system.yaml', $systemFilePath);
/**
* Set homepage for module
*/
if (null != $customHomePage) {
$system = Yaml::parse(file_get_contents($systemFilePath));
$system['home']['alias'] = $customHomePage;
......
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