summaryrefslogtreecommitdiff
path: root/magpierss
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-11-14 19:49:02 +0100
committerAndrew Dolgov <[email protected]>2006-11-14 19:49:02 +0100
commit34b5a6490c51b954dce19d9ff40fe5097790fda6 (patch)
treef2c9614b82b13fea8514ba3711e591f1fdf4da6d /magpierss
parent4724a093a854cc6efe383f1ae9f72cdd2c32542c (diff)
mention tt-rss in magpie useragent
Diffstat (limited to 'magpierss')
-rw-r--r--magpierss/rss_fetch.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/magpierss/rss_fetch.inc b/magpierss/rss_fetch.inc
index f2fa2fa86..695d3b69e 100644
--- a/magpierss/rss_fetch.inc
+++ b/magpierss/rss_fetch.inc
@@ -379,7 +379,11 @@ function init () {
else {
$ua = $ua . '; No cache)';
}
-
+
+ if ( defined('MAGPIE_USER_AGENT_EXT') ) {
+ $ua = $ua . MAGPIE_USER_AGENT_EXT;
+ }
+
define('MAGPIE_USER_AGENT', $ua);
}