Skip to content

Commit 36e85ef

Browse files
committed
bug fix: permpath after adding custom path for child domains
1 parent 02ce6ac commit 36e85ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plogical/applicationInstaller.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def installWordPress(self):
265265
statusFile.close()
266266

267267
dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master)
268-
self.permPath = '/home/%s/public_html' % (website.master.domain)
268+
self.permPath = website.path
269269

270270
except:
271271
website = Websites.objects.get(domain=domainName)
@@ -446,7 +446,7 @@ def installPrestaShop(self):
446446
statusFile.close()
447447

448448
dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master)
449-
self.permPath = '/home/%s/public_html' % (website.master.domain)
449+
self.permPath = website.path
450450

451451
except:
452452
website = Websites.objects.get(domain=domainName)
@@ -1068,7 +1068,7 @@ def installMagento(self):
10681068
statusFile.close()
10691069

10701070
dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master)
1071-
self.permPath = '/home/%s/public_html' % (website.master.domain)
1071+
self.permPath = website.path
10721072

10731073
except:
10741074
website = Websites.objects.get(domain=domainName)

0 commit comments

Comments
 (0)