fix error message

This commit is contained in:
philipp
2022-11-08 20:34:56 +01:00
parent b110a56295
commit 92e0ffe659

View File

@ -65,8 +65,12 @@ function apelly_blacklist_domain_root ( $bol, $url ) {
// stop
//yourls_die( 'Blacklisted domain', 'Forbidden', 403 );
echo "<center>Blacklisted domain.</center>";
die();
return array(
'status' => 'fail',
'code' => 'error:url',
'message' => 'Blacklisted domain',
'errorCode' => '403',
);
}
}
}