]> git.mjollnir.org Git - s9y.git/commitdiff
fb patch
authorgarvinhicking <garvinhicking>
Fri, 26 May 2006 18:52:32 +0000 (18:52 +0000)
committergarvinhicking <garvinhicking>
Fri, 26 May 2006 18:52:32 +0000 (18:52 +0000)
rss.php

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