fix error message
This commit is contained in:
@ -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',
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user