From: Andrew Dolgov Date: Thu, 23 Aug 2007 11:58:39 +0000 (+0100) Subject: simplepie: enable use of MAGPIE_FETCH_TIME_OUT X-Git-Tag: 1.2.15~91 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=03a577bff0ac98caff0411ef118f8796c0400043;p=tt-rss.git simplepie: enable use of MAGPIE_FETCH_TIME_OUT --- diff --git a/functions.php b/functions.php index 5d086f9e..bc26bf77 100644 --- a/functions.php +++ b/functions.php @@ -443,6 +443,7 @@ } else { $rss = new SimplePie(); $rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT); + $rss->set_timeout(MAGPIE_FETCH_TIME_OUT); $rss->set_feed_url($fetch_url); $rss->set_output_encoding('UTF-8'); $rss->init();