9 lines
293 B
PHP
9 lines
293 B
PHP
<?php
|
|
|
|
regCheckDomainPossession($_POST['domain']);
|
|
|
|
$zone_content = file_get_contents(CONF['reg']['registry_file']);
|
|
if ($zone_content === false)
|
|
output(500, 'Unable to read registry file.');
|
|
|
|
$data['zone-content'] = parseZoneFile($zone_content, ['A', 'AAAA', 'NS', 'DS'], $_POST['domain']);
|