14 lines
244 B
PHP
14 lines
244 B
PHP
<?php
|
|
|
|
$values = nsParseCommonRequirements();
|
|
|
|
$_POST['cname'] = formatAbsoluteDomain($_POST['cname']);
|
|
|
|
knotcZoneExec($_POST['zone'], [
|
|
$values['domain'],
|
|
$values['ttl'],
|
|
'CNAME',
|
|
$_POST['cname']
|
|
]);
|
|
|
|
output(200, _('Modification done.'));
|