mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:05:56 +00:00
update URL pointing to version.json
This commit is contained in:
@@ -602,7 +602,7 @@ class RPC extends Handler_Protected {
|
|||||||
get_version($git_commit, $git_timestamp);
|
get_version($git_commit, $git_timestamp);
|
||||||
|
|
||||||
if (defined('CHECK_FOR_UPDATES') && CHECK_FOR_UPDATES && $_SESSION["access_level"] >= 10 && $git_timestamp) {
|
if (defined('CHECK_FOR_UPDATES') && CHECK_FOR_UPDATES && $_SESSION["access_level"] >= 10 && $git_timestamp) {
|
||||||
$content = @fetch_file_contents(["url" => "https://srv.tt-rss.org/version.json"]);
|
$content = @fetch_file_contents(["url" => "https://tt-rss.org/version.json"]);
|
||||||
|
|
||||||
if ($content) {
|
if ($content) {
|
||||||
$content = json_decode($content, true);
|
$content = json_decode($content, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user