From 36e85efd72766ffd8c1f0d056df87bd12e2187d9 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 6 Apr 2020 12:33:20 +0500 Subject: [PATCH] bug fix: permpath after adding custom path for child domains --- plogical/applicationInstaller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)