This commit is contained in:
Usman Nasir
2022-09-25 12:08:37 +05:00
parent 90c22c8fe0
commit 34ef69516e

View File

@@ -1697,6 +1697,10 @@ $parameters = array(
try: try:
website = Websites.objects.get(domain=DataToPass['domainName']) website = Websites.objects.get(domain=DataToPass['domainName'])
if website.phpSelection == 'PHP 7.3':
website.phpSelection = 'PHP 7.4'
website.save()
if ACLManager.checkOwnership(website.domain, self.extraArgs['adminID'], if ACLManager.checkOwnership(website.domain, self.extraArgs['adminID'],
self.extraArgs['currentACL']) == 0: self.extraArgs['currentACL']) == 0:
statusFile = open(tempStatusPath, 'w') statusFile = open(tempStatusPath, 'w')