diff options
author | Andrew Dolgov <[email protected]> | 2013-04-24 16:57:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-24 16:57:24 +0400 |
commit | 3472c4c5696cfa868b16d81c937605258acd2125 (patch) | |
tree | 35b841eeffd8a7e54979404f1ec2909c1f1409df /include/sessions.php | |
parent | 84ceb6bd2eb0257a1cc863ff40120a694fa51b79 (diff) |
use static version for session checking, show latest changeset for git version instead of head date
Diffstat (limited to 'include/sessions.php')
-rw-r--r-- | include/sessions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sessions.php b/include/sessions.php index c4876489f..423ef0eda 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -39,7 +39,7 @@ function validate_session() { if (SINGLE_USER_MODE) return true; - if (VERSION != $_SESSION["version"]) return false; + if (VERSION_STATIC != $_SESSION["version"]) return false; $check_ip = $_SESSION['ip_address']; |