Respect the 'path' config when setting $CFG->sessioncookiepath in config.php
authorDavid Mudrák <david@moodle.com>
Fri, 27 Jun 2014 09:37:32 +0000 (11:37 +0200)
committerDavid Mudrák <david@moodle.com>
Fri, 27 Jun 2014 09:37:32 +0000 (11:37 +0200)
commit53e005e561bb63629d6858669d20836fe4966429
tree9af9468cd3f1ccc46e365fdace52399749746ef9
parent758a1b39d0a7031de3e692799ab2af9994bb4683
Respect the 'path' config when setting $CFG->sessioncookiepath in config.php

Setups using the 'path' config ended with invalid $CFG->sessioncookiepath set
in config.php (always expecting the moodle is in the root). Moodle core itself
has checks for this so the value set in config.php was ignored in that case.
lib/moodle.py