Usman Nasir
2021-04-28 01:04:29 +05:00
parent ae5eafff8e
commit ec535d0961
5 changed files with 23 additions and 0 deletions

View File

@@ -2843,6 +2843,9 @@ class CloudManager:
zones = cf.zones.get(params = {'per_page':100})
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
ProcessUtilities.executioner(command)
for website in Websites.objects.all():
import tldextract
extractDomain = tldextract.extract(website.domain)
@@ -2882,6 +2885,9 @@ class CloudManager:
### For child domainsa
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
ProcessUtilities.executioner(command)
from websiteFunctions.models import ChildDomains
for website in ChildDomains.objects.all():