]> git.wh0rd.org Git - tt-rss.git/commitdiff
amend previous
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 30 Mar 2016 10:34:26 +0000 (13:34 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 30 Mar 2016 10:34:26 +0000 (13:34 +0300)
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);