}
}
- if ($_GET['type'] == 'content' && !isset($_GET['category']) && !isset($serendipity['GET']['tag']) && $plugin->get_config('show_feedburner') === 'force' && !preg_match('@FeedBurn@i', $_SERVER['HTTP_USER_AGENT'])) {
- $url = 'http://feeds.feedburner.com/' . $plugin->get_config('fb_id');
- header('Location: ' . $url);
- exit;
+ if ($_GET['type'] == 'content' &&
+ !isset($_GET['category']) &&
+ !isset($serendipity['GET']['tag']) &&
+ $plugin->get_config('show_feedburner') === 'force' &&
+ !preg_match('@FeedBurn@i', $_SERVER['HTTP_USER_AGENT']) &&
+ !(serendipity_userLoggedIn() && isset($_GET['forceLocal']))
+ ) {
+ $url = 'http://feeds.feedburner.com/' . $plugin->get_config('fb_id');
+ header('Location: ' . $url);
+ exit;
}
$metadata['showMail'] = serendipity_db_bool($plugin->get_config('show_mail', $metadata['showMail']));
break;