summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-04 12:55:15 +0400
committerAndrew Dolgov <[email protected]>2013-04-04 12:55:15 +0400
commit810205625b8afb7e08b2829723426f021e0a5c1b (patch)
treeb627edd18e3bbab673ff72175ec7be1a79f80114 /include/functions.php
parent9fb91a20437c0a53a7d6aaf8b020ab051fbf9ce2 (diff)
session validation: check for tt-rss version
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 02cefd4d8..71fd16542 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -630,6 +630,7 @@
@session_start();
$_SESSION["uid"] = $user_id;
+ $_SESSION["version"] = VERSION;
$result = db_query($link, "SELECT login,access_level,pwd_hash FROM ttrss_users
WHERE id = '$user_id'");