summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-16 15:10:29 +0400
committerAndrew Dolgov <[email protected]>2013-03-16 15:10:29 +0400
commitf60646622a421513cb5d5ac5f0807b31c4ba45c0 (patch)
treee8ba01b15cddb761ac3588e8e18d3a3c5c682840 /include
parent08da1c6a239500bc9dc99fd1baacd88f03b7a6e4 (diff)
include hashed SELF_URL_PATH when checking for new version
Diffstat (limited to 'include')
-rw-r--r--include/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 3927a5b69..4e16c9f19 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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);