mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-05 02:23:27 +02:00
Small fixes
This commit is contained in:
parent
05d929f9b4
commit
6ca9e5256a
2 changed files with 3 additions and 3 deletions
|
@ -986,7 +986,7 @@ class SystemController extends Controller
|
||||||
$secureTld = $tld['secure'];
|
$secureTld = $tld['secure'];
|
||||||
if ($secureTld === 1) {
|
if ($secureTld === 1) {
|
||||||
if (file_exists('/usr/sbin/rndc')) {
|
if (file_exists('/usr/sbin/rndc')) {
|
||||||
$zone = ltrim($tld['tld'], '.');
|
$zone = strtolower(ltrim($tld['tld'], '.'));
|
||||||
$statusOutput = shell_exec("sudo rndc dnssec -status " . escapeshellarg($zone) . " 2>&1");
|
$statusOutput = shell_exec("sudo rndc dnssec -status " . escapeshellarg($zone) . " 2>&1");
|
||||||
|
|
||||||
if (!$statusOutput) {
|
if (!$statusOutput) {
|
||||||
|
@ -1066,7 +1066,7 @@ class SystemController extends Controller
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif (file_exists('/usr/sbin/knotc')) {
|
} elseif (file_exists('/usr/sbin/knotc')) {
|
||||||
$zone = ltrim($tld['tld'], '.');
|
$zone = strtolower(ltrim($tld['tld'], '.'));
|
||||||
$keyDir = '/etc/knot/keys';
|
$keyDir = '/etc/knot/keys';
|
||||||
|
|
||||||
// Use knotc to get key statuses
|
// Use knotc to get key statuses
|
||||||
|
|
|
@ -316,7 +316,7 @@ document.querySelectorAll('.enable-dnssec-link').forEach(function (el) {
|
||||||
|
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: 'Are you sure?',
|
title: 'Are you sure?',
|
||||||
text: 'Please ensure DNSSEC has been properly configured for this TLD prior to proceeding, as outlined in section 2.1.3b. of the manual.',
|
text: 'Please ensure DNSSEC has been properly configured for this TLD prior to proceeding, as outlined in section 2.1.1 of the manual.',
|
||||||
icon: 'warning',
|
icon: 'warning',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonText: 'Yes, continue',
|
confirmButtonText: 'Yes, continue',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue