The global contact for server users is now stored directly
This commit is contained in:
parent
90155da59a
commit
3df235e5bd
4 changed files with 22 additions and 8 deletions
|
@ -15,11 +15,11 @@ function noscrape_init(&$a) {
|
|||
|
||||
profile_load($a,$which,$profile);
|
||||
|
||||
if(!$a->profile['net-publish']) {
|
||||
if (!$a->profile['net-publish'] OR $a->profile['hidewall']) {
|
||||
header('Content-type: application/json; charset=utf-8');
|
||||
$json_info = array("hide" => true);
|
||||
echo json_encode($json_info);
|
||||
killme();
|
||||
exit;
|
||||
}
|
||||
|
||||
$keywords = ((x($a->profile,'pub_keywords')) ? $a->profile['pub_keywords'] : '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue