13 lines
301 B
PHP
13 lines
301 B
PHP
<?php
|
|
|
|
regCheckDomainPossession($_POST['suffix']);
|
|
|
|
knotcZoneExec(regParseDomain($_POST['suffix'])['suffix'], [
|
|
formatAbsoluteDomain(formatEndWithDot($_POST['subdomain']) . $_POST['suffix']),
|
|
CONF['reg']['ttl'],
|
|
checkIpFormat($_POST['ip']),
|
|
$_POST['ip']
|
|
]);
|
|
|
|
output(200, _('Modification done.'));
|