Public bug reported:

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');

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
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:
  New

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to