]> git.mjollnir.org Git - s9y.git/commitdiff
feedburtn force fix
authorgarvinhicking <garvinhicking>
Tue, 30 May 2006 09:47:13 +0000 (09:47 +0000)
committergarvinhicking <garvinhicking>
Tue, 30 May 2006 09:47:13 +0000 (09:47 +0000)
rss.php

diff --git a/rss.php b/rss.php
index 959562cf6a839459a7ac552f7852cd684138d99f..5152f6d561ef5d015b0b6ab39daa1c4aeb5fd980 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -149,7 +149,7 @@ if (is_array($plugins)) {
                 }
             }
 
-            if ($_GET['type']  == 'content' && $plugin->get_config('show_feedburner') === 'force' && !preg_match('@FeedBurn@i', $_SERVER['HTTP_USER_AGENT'])) {
+            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;