1
1
Fork 0

The global contact for server users is now stored directly

This commit is contained in:
Michael Vogel 2016-05-05 12:02:51 +02:00
commit 3df235e5bd
4 changed files with 22 additions and 8 deletions

View file

@ -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'] : '');