From aec1333faab59d5de487ecee0da059449e9c21fd Mon Sep 17 00:00:00 2001 From: horfic <horfic@ispconfig3> Date: Mon, 10 Jan 2011 08:29:51 -0500 Subject: [PATCH] *) Changed remote function sites_web_domain_add to allow readonly website to be created *) Forgot to add the entries for mailman in the main.cf of postfix --- interface/lib/classes/session.inc.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/session.inc.php b/interface/lib/classes/session.inc.php index aff61aa..34dfaa5 100644 --- a/interface/lib/classes/session.inc.php +++ b/interface/lib/classes/session.inc.php @@ -68,8 +68,11 @@ $this->session_array = array(); } - // Dont write session to DB if session data has not been changed after reading it. + // Dont write session_data to DB if session data has not been changed after reading it. if(isset($this->session_array['session_data']) && $this->session_array['session_data'] != '' && $this->session_array['session_data'] == $session_data) { + $session_id = $this->db->quote($session_id); + $last_updated = date('Y-m-d H:i:s'); + $this->db->query("UPDATE sys_session SET last_updated = '$last_updated' WHERE session_id = '$session_id'"); return true; } -- Gitblit v1.9.1