feature: allow custom path for child-domains

This commit is contained in:
Usman Nasir
2020-04-04 23:48:05 +05:00
parent a82a1bf72b
commit 2d891fdd46
8 changed files with 9 additions and 9 deletions

View File

@@ -285,9 +285,9 @@ class WebsiteManager:
if len(path) > 0:
path = path.lstrip("/")
path = "/home/" + masterDomain + "/public_html/" + path
path = "/home/" + masterDomain + "/" + path
else:
path = "/home/" + masterDomain + "/public_html/" + domain
path = "/home/" + masterDomain + "/" + domain
try:
apacheBackend = str(data['apacheBackend'])