]> git.wh0rd.org - tt-rss.git/commitdiff
do not apply magpie timeout override on simplepie
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 4 Oct 2007 05:46:05 +0000 (06:46 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 4 Oct 2007 05:46:05 +0000 (06:46 +0100)
functions.php

index e218a6c2846b6dcb9716d3108040b7cf17e0d2fd..ea991269d9c27debc39f76c91b37e4ad031065d4 100644 (file)
 
                        $rss = new SimplePie();
                        $rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT);
-                       $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
+//                     $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
                        $rss->set_feed_url($fetch_url);
                        $rss->set_output_encoding('UTF-8');
 
                if (ENABLE_SIMPLEPIE) {
                        $rss = new SimplePie();
                        $rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT);
-                       $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
+//                     $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
                        $rss->set_feed_url($fetch_url);
                        $rss->set_output_encoding('UTF-8');
                        $rss->init();