include hashed SELF_URL_PATH when checking for new version
This commit is contained in:
parent
08da1c6a23
commit
f60646622a
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue