mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-15 17:56:12 +01:00
bug fix: if domain exists as cd
This commit is contained in:
@@ -158,7 +158,11 @@ class virtualHostUtilities:
|
|||||||
### create site if not there
|
### create site if not there
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
website = Websites.objects.get(domain=Domain)
|
website = Websites.objects.get(domain=Domain)
|
||||||
|
except:
|
||||||
|
try:
|
||||||
|
child = ChildDomains.objects.get(domain=Domain)
|
||||||
except:
|
except:
|
||||||
DataToPass = {}
|
DataToPass = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user