mirror of
https://github.com/sigmasternchen/drnk.me
synced 2025-03-15 09:48:54 +00:00
fix: Small text change
This commit is contained in:
parent
c250b3934a
commit
2bce50dac6
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ function validateInput(string $url) {
|
||||||
$error = "That URL doesn't looks right. Please try again.";
|
$error = "That URL doesn't looks right. Please try again.";
|
||||||
} else if (substr($url, 0, 4) !== "http") {
|
} else if (substr($url, 0, 4) !== "http") {
|
||||||
setStatusCode(400);
|
setStatusCode(400);
|
||||||
$error = "Only http:// and https:// are supported.";
|
$error = "Only http:// and https:// URLs are supported.";
|
||||||
} else if (
|
} else if (
|
||||||
($hostname && !$ip && !dns_get_record($hostname, DNS_A | DNS_AAAA | DNS_CNAME)) ||
|
($hostname && !$ip && !dns_get_record($hostname, DNS_A | DNS_AAAA | DNS_CNAME)) ||
|
||||||
($ip && !filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE))
|
($ip && !filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE))
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
<a href="javascript:copy('.result a')" class="copy"><i class="fa-regular fa-copy"></i></a>
|
<a href="javascript:copy('.result a')" class="copy"><i class="fa-regular fa-copy"></i></a>
|
||||||
</div>
|
</div>
|
||||||
<!-- <?php echo $data["accessKey"] ?? ""; ?> -->
|
<!-- <?php echo $data["accessKey"] ?? ""; ?> -->
|
||||||
Click <a hx-get="/?formonly" hx-swap="innerHTML" hx-target=".center-panel" href="/">here</a> to create a new link.
|
Click <a hx-get="/?formonly" hx-swap="innerHTML" hx-target=".center-panel" href="/">here</a> to create another link.
|
||||||
|
|
Loading…
Reference in a new issue