set php built-in user-agent

This commit is contained in:
Andrew Dolgov 2010-11-17 12:52:17 +03:00
parent 6e88da8223
commit 500943a45b
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@
define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . VERSION . ' (http://tt-rss.org/)'); define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . VERSION . ' (http://tt-rss.org/)');
define('MAGPIE_USER_AGENT', SELF_USER_AGENT); define('MAGPIE_USER_AGENT', SELF_USER_AGENT);
ini_set('user_agent', SELF_USER_AGENT);
require_once "lib/simplepie/simplepie.inc"; require_once "lib/simplepie/simplepie.inc";
require_once "lib/magpierss/rss_fetch.inc"; require_once "lib/magpierss/rss_fetch.inc";
require_once 'lib/magpierss/rss_utils.inc'; require_once 'lib/magpierss/rss_utils.inc';