]> git.wh0rd.org Git - tt-rss.git/commitdiff
simplepie: enable use of MAGPIE_FETCH_TIME_OUT
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 23 Aug 2007 11:58:39 +0000 (12:58 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 23 Aug 2007 11:58:39 +0000 (12:58 +0100)
functions.php

index 5d086f9e98f908302ad2703a7ea7fefbbff3d9d1..bc26bf77a770327f054e64e85bbbd2c0847772f3 100644 (file)
                } 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();