check_subdomain_owner didn't allow subdomains on your own pointer

Version 1.51


If you had a pointer called, DA previously wouldn't let you create a domain stating it doesn't belong to you. That because DA notices that /etc/virtual/ existed, yet wasn't in the User's domains.list file. Change to the logic so it simply uses the /etc/virtual/domainowners file, so it can very quickly see who owns what.

Interested to try DirectAdmin? Get a 30-day Free Trial!