From ad76d18475653c65f780a92afd4a36f71e4a8925 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 18 Jan 2009 20:30:54 +0000 Subject: [PATCH] MDL-17942 yet more session refactoring --- lib/sessionlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sessionlib.php b/lib/sessionlib.php index fad7cab382..352af3186e 100644 --- a/lib/sessionlib.php +++ b/lib/sessionlib.php @@ -14,12 +14,12 @@ function session_get_instance() { $CFG->sessiontimeout = 7200; } - if (defined('SESSION_CUSTOM')) { + if (defined('SESSION_CUSTOM_CLASS')) { // this is a hook for webservices, key based login, etc. if (defined('SESSION_CUSTOM_FILE')) { require_once($CFG->dirroot.SESSION_CUSTOM_FILE); } - $session_class = SESSION_CUSTOM; + $session_class = SESSION_CUSTOM_CLASS; $session = new $session_class(); } else if ((!isset($CFG->dbsessions) or $CFG->dbsessions) and $DB->session_lock_supported()) { -- 2.39.5