diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index a48eb85b8..0bb926854 100755 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -265,7 +265,7 @@ class ApplicationInstaller(multi.Thread): statusFile.close() dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master) - self.permPath = '/home/%s/public_html' % (website.master.domain) + self.permPath = website.path except: website = Websites.objects.get(domain=domainName) @@ -446,7 +446,7 @@ class ApplicationInstaller(multi.Thread): statusFile.close() dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master) - self.permPath = '/home/%s/public_html' % (website.master.domain) + self.permPath = website.path except: website = Websites.objects.get(domain=domainName) @@ -1068,7 +1068,7 @@ class ApplicationInstaller(multi.Thread): statusFile.close() dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master) - self.permPath = '/home/%s/public_html' % (website.master.domain) + self.permPath = website.path except: website = Websites.objects.get(domain=domainName)