amend previous
This commit is contained in:
parent
79c891a8b7
commit
633fb7ffe2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue