From 500943a45b3993b28ceee7331ac0bf65ae22b636 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Nov 2010 12:52:17 +0300 Subject: [PATCH] set php built-in user-agent --- functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions.php b/functions.php index 411f26b6..6d72c687 100644 --- a/functions.php +++ b/functions.php @@ -117,6 +117,8 @@ define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . VERSION . ' (http://tt-rss.org/)'); define('MAGPIE_USER_AGENT', SELF_USER_AGENT); + ini_set('user_agent', SELF_USER_AGENT); + require_once "lib/simplepie/simplepie.inc"; require_once "lib/magpierss/rss_fetch.inc"; require_once 'lib/magpierss/rss_utils.inc'; -- 2.39.5