From 3472c4c5696cfa868b16d81c937605258acd2125 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 24 Apr 2013 16:57:24 +0400 Subject: use static version for session checking, show latest changeset for git version instead of head date --- include/sessions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sessions.php') 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']; -- cgit v1.2.3