mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 06:11:39 +00:00
include hashed SELF_URL_PATH when checking for new version
This commit is contained in:
@@ -2614,7 +2614,8 @@
|
|||||||
|
|
||||||
function check_for_update($link) {
|
function check_for_update($link) {
|
||||||
if (CHECK_FOR_NEW_VERSION && $_SESSION['access_level'] >= 10) {
|
if (CHECK_FOR_NEW_VERSION && $_SESSION['access_level'] >= 10) {
|
||||||
$version_url = "http://tt-rss.org/version.php?ver=" . VERSION;
|
$version_url = "http://tt-rss.org/version.php?ver=" . VERSION .
|
||||||
|
"&iid=" . sha1(SELF_URL_PATH);
|
||||||
|
|
||||||
$version_data = @fetch_file_contents($version_url);
|
$version_data = @fetch_file_contents($version_url);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user