This commit is contained in:
skodak 2005-09-09 12:07:13 +00:00
parent c764ee5f50
commit 9259cb73bc

View File

@ -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;