Add feedburner recognittion for "bad" caching.

RFE #1588802
This commit is contained in:
Garvin Hicking 2006-11-02 11:20:35 +00:00
parent b196058eb3
commit 1b1991a697

View File

@ -28,6 +28,11 @@ if (isset($_GET['viewAuthor'])) {
if (!isset($_GET['type'])) {
$_GET['type'] = 'content';
}
if (!empty($_SERVER['HTTP_USER_AGENT']) && stristr($_SERVER['HTTP_USER_AGENT'], 'feedburner')) {
$_GET['nocache'] = true;
}
$serendipity['view'] = 'feed';
switch ($_GET['type']) {