Fixes #243: Fix typo in domain_name variable

This commit is contained in:
Kienan Stewart 2018-06-08 14:32:01 -04:00
parent 71ed8bf5f4
commit f39e72d58a
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ class m_admin {
$dom->lock(); $dom->lock();
// option : 1=hébergement dns, 1=noerase, empeche de modifier, 1=force // option : 1=hébergement dns, 1=noerase, empeche de modifier, 1=force
// we do not allow DNS modification for hosting_tld // we do not allow DNS modification for hosting_tld
$dns=($domaine_name==variable_get("hosting_tld")) ? 0 : 1; $dns=($domain_name==variable_get("hosting_tld")) ? 0 : 1;
$dom->add_domain($mem->user['login'] . "." . $domain_name, $dns, 1, 1); $dom->add_domain($mem->user['login'] . "." . $domain_name, $dns, 1, 1);
$dom->unlock(); $dom->unlock();
$mem->unsu(); $mem->unsu();