1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-26 11:59:02 +02:00

include hashed SELF_URL_PATH when checking for new version

This commit is contained in:
Andrew Dolgov 2013-03-16 15:10:29 +04:00
parent 08da1c6a23
commit f60646622a

View File

@ -2614,7 +2614,8 @@
function check_for_update($link) {
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);