mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
reverting previous patch - see http://moodle.org/mod/forum/discuss.php?d=26970
This commit is contained in:
parent
c764ee5f50
commit
9259cb73bc
@ -314,11 +314,6 @@ $CFG->httpswwwroot = $CFG->wwwroot;
|
||||
} else {
|
||||
$_COOKIE['MoodleSessionTest'.$CFG->sessioncookie] = 'error!!';
|
||||
}
|
||||
} else {
|
||||
if (empty($_COOKIE['MoodleSessionTest'.$CFG->sessioncookie])) {
|
||||
setcookie('MoodleSessionTest'.$CFG->sessioncookie, $_SESSION['SESSION']->session_test, 0, '/');
|
||||
$_COOKIE['MoodleSessionTest'.$CFG->sessioncookie] = $_SESSION['SESSION']->session_test;
|
||||
}
|
||||
}
|
||||
if (! isset($_SESSION['USER'])) {
|
||||
$_SESSION['USER'] = new object;
|
||||
|
Loading…
x
Reference in New Issue
Block a user