From 9259cb73bca165fb241da78256d3d6ba6dfaf734 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 9 Sep 2005 12:07:13 +0000 Subject: [PATCH] reverting previous patch - see http://moodle.org/mod/forum/discuss.php?d=26970 --- lib/setup.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/setup.php b/lib/setup.php index 47ee5b4dfe3..364341c1e50 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -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;