1
0
Fork 0

Noscrape is now enabled all the time.

This commit is contained in:
Michael Vogel 2015-02-08 12:07:35 +01:00
commit f931eba7f2
4 changed files with 1 additions and 12 deletions

View file

@ -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();