amend previous

master
Andrew Dolgov 9 years ago
parent 79c891a8b7
commit 633fb7ffe2

@ -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);

Loading…
Cancel
Save