]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
amend previous
[tt-rss.git] / include / functions2.php
index 1c2ffb9369329532ad8c0571fd98e039f9f6f5f4..5fe527b7e264560935df37d1bbbeccaae198243f 100644 (file)
 
        function check_for_update() {
                if (defined("GIT_VERSION_TIMESTAMP")) {
-                       $content = @fetch_file_contents(array("url" => "http://tt-rss.org/version.json", "timeout" => 5));
+                       $content = @fetch_file_contents2(array("url" => "http://tt-rss.org/version.json", "timeout" => 5));
 
                        if ($content) {
                                $content = json_decode($content, true);