changeset 174 | a17ec7de4bbb |
parent 170 | 391e744a1def |
child 179 | 5a2d4418385d |
173:6d0e4e6bedad | 174:a17ec7de4bbb |
---|---|
54 $error = "1"; |
54 $error = "1"; |
55 } |
55 } |
56 } |
56 } |
57 |
57 |
58 if (!$error) { |
58 if (!$error) { |
59 if (!is_valid_hostname_fqdn($domain)) { |
59 if (!is_valid_hostname_fqdn($domain,0)) { |
60 error(ERR_DOMAIN_INVALID); |
60 error(ERR_DOMAIN_INVALID); |
61 $error = "1"; |
61 $error = "1"; |
62 } elseif (domain_exists($domain)) { |
62 } elseif (domain_exists($domain)) { |
63 error(ERR_DOMAIN_EXISTS); |
63 error(ERR_DOMAIN_EXISTS); |
64 $error = "1"; |
64 $error = "1"; |