mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
bug fix: https://github.com/usmannasir/cyberpanel/issues/952: finally CP Running
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user