mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #30795
[Bug 1500774] Re: remove old session files doesn't work with adapted sessionpath
** Changed in: mahara
Status: Fix Committed => Fix Released
** Changed in: mahara/1.9
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1500774
Title:
remove old session files doesn't work with adapted sessionpath
Status in Mahara:
Fix Released
Status in Mahara 1.10 series:
Fix Released
Status in Mahara 1.9 series:
Fix Released
Status in Mahara 15.04 series:
Fix Released
Status in Mahara 15.10 series:
Fix Released
Bug description:
auth/lib.php is using
$basedir = get_config('dataroot') . 'sessions/';
for trying to remove the old session files.
If there is a different session path set, mahara does not notice this
adaptation.
Following modification is fixing the problem:
auth/lib.php:
function auth_remove_old_session_files() {
$basedir = get_config('sessionpath');
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1500774/+subscriptions
References