reverting previous patch - see http://moodle.org/mod/forum/discuss.php?d=26970
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user