Get instance type after setting theme

main
Bob Mottram 2020-10-13 21:26:19 +01:00
parent e34828bfd0
commit 5631e9a050
1 changed files with 9 additions and 0 deletions

View File

@ -3360,6 +3360,15 @@ class PubServer(BaseHTTPRequestHandler):
setTheme(baseDir,
fields['themeDropdown'],
domain)
self.server.blogsInstance = \
getConfigParam(baseDir,
"blogsInstance")
self.server.mediaInstance = \
getConfigParam(baseDir,
"mediaInstance")
self.server.newsInstance = \
getConfigParam(baseDir,
"newsInstance")
# change email address
currentEmailAddress = getEmailAddress(actorJson)