mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
bug fix: git manager
This commit is contained in:
@@ -820,4 +820,16 @@ class ACLManager:
|
||||
else:
|
||||
return 0
|
||||
|
||||
@staticmethod
|
||||
def FetchExternalApp(domain):
|
||||
try:
|
||||
childDomain = ChildDomains.objects.get(domain=domain)
|
||||
|
||||
return childDomain.master.externalApp
|
||||
|
||||
except:
|
||||
domainName = Websites.objects.get(domain=domain)
|
||||
return domainName.externalApp
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user