Give user more information when a domain name is syntaxically incorrect

This commit is contained in:
Kienan Stewart 2018-12-23 23:44:22 -05:00
parent 7a6d800e21
commit d9fe47e892
1 changed files with 1 additions and 1 deletions

View File

@ -1333,7 +1333,7 @@ class m_dom {
// On a épuré $dir des problémes eventuels ... On est en DESSOUS du dossier de l'utilisateur.
if (($t = checkfqdn($dom))) {
$msg->raise("ERROR", "dom", _("The domain name is syntaxically incorrect"));
$msg->raise("ERROR", "dom", _("The domain name {$dom} is syntaxically incorrect: code {$t}"));
return false;
}