amend previous

This commit is contained in:
Andrew Dolgov 2016-03-30 13:34:26 +03:00
parent 79c891a8b7
commit 633fb7ffe2

View file

@ -203,7 +203,7 @@
function check_for_update() { function check_for_update() {
if (defined("GIT_VERSION_TIMESTAMP")) { 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) { if ($content) {
$content = json_decode($content, true); $content = json_decode($content, true);