Noscrape is now enabled all the time.
This commit is contained in:
parent
f620834d97
commit
f931eba7f2
4 changed files with 1 additions and 12 deletions
|
@ -38,11 +38,8 @@ function friendica_init(&$a) {
|
|||
'site_name' => $a->config['sitename'],
|
||||
'platform' => FRIENDICA_PLATFORM,
|
||||
'info' => ((x($a->config,'info')) ? $a->config['info'] : ''),
|
||||
'no_scrape_url' => $a->get_baseurl().'/noscrape'
|
||||
);
|
||||
|
||||
//Enable noscrape?
|
||||
if(!get_config('system','disable_noscrape'))
|
||||
$data['no_scrape_url'] = $a->get_baseurl().'/noscrape';
|
||||
|
||||
echo json_encode($data);
|
||||
killme();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue