mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-11 15:56:11 +01:00
bug fix: permpath after adding custom path for child domains
This commit is contained in:
@@ -265,7 +265,7 @@ class ApplicationInstaller(multi.Thread):
|
|||||||
statusFile.close()
|
statusFile.close()
|
||||||
|
|
||||||
dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master)
|
dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master)
|
||||||
self.permPath = '/home/%s/public_html' % (website.master.domain)
|
self.permPath = website.path
|
||||||
|
|
||||||
except:
|
except:
|
||||||
website = Websites.objects.get(domain=domainName)
|
website = Websites.objects.get(domain=domainName)
|
||||||
@@ -446,7 +446,7 @@ class ApplicationInstaller(multi.Thread):
|
|||||||
statusFile.close()
|
statusFile.close()
|
||||||
|
|
||||||
dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master)
|
dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master)
|
||||||
self.permPath = '/home/%s/public_html' % (website.master.domain)
|
self.permPath = website.path
|
||||||
|
|
||||||
except:
|
except:
|
||||||
website = Websites.objects.get(domain=domainName)
|
website = Websites.objects.get(domain=domainName)
|
||||||
@@ -1068,7 +1068,7 @@ class ApplicationInstaller(multi.Thread):
|
|||||||
statusFile.close()
|
statusFile.close()
|
||||||
|
|
||||||
dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master)
|
dbName, dbUser, dbPassword = self.dbCreation(tempStatusPath, website.master)
|
||||||
self.permPath = '/home/%s/public_html' % (website.master.domain)
|
self.permPath = website.path
|
||||||
|
|
||||||
except:
|
except:
|
||||||
website = Websites.objects.get(domain=domainName)
|
website = Websites.objects.get(domain=domainName)
|
||||||
|
|||||||
Reference in New Issue
Block a user