diff options
author | Andrew Dolgov <[email protected]> | 2010-11-17 12:52:17 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-17 12:52:17 +0300 |
commit | 500943a45b3993b28ceee7331ac0bf65ae22b636 (patch) | |
tree | b7d58f29f077f36d45f2d80f11f396a70cbb48b1 | |
parent | 6e88da8223c70e4ec3af27f6385a8a89006709fe (diff) |
set php built-in user-agent
-rw-r--r-- | functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 411f26b6e..6d72c6873 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'; |