Last update was not meant for this repo
This commit is contained in:
2023-01-14 11:35:38 -08:00
parent 4ecd08f87f
commit 3cf824cc5c
10 changed files with 63 additions and 101 deletions

View File

@ -65,12 +65,8 @@ function apelly_blacklist_domain_root ( $bol, $url ) {
// stop
//yourls_die( 'Blacklisted domain', 'Forbidden', 403 );
return array(
'status' => 'fail',
'code' => 'error:url',
'message' => 'Blacklisted domain',
'errorCode' => '403',
);
"<center>Blacklisted domain.</center>";
die();
}
}
}
@ -108,7 +104,7 @@ function apelly_blacklist_domain_form () {
<input type="hidden" name="nonce" value="$nonce" />
<p>Blacklist following domains</p>
<p><textarea class="blacklist-domains" cols="60" rows="15" name="blacklist_form">$domain_list_display</textarea></p>
<p><textarea cols="60" rows="15" name="blacklist_form">$domain_list_display</textarea></p>
<p><input type="submit" value="Save" /></p>
</form>