MDL-21637 "bug in some versions of php version 5 prevents cookieless sessions working"

This commit is contained in:
Jamie Pratt
2010-02-18 11:50:18 +00:00
parent e599553d84
commit 4a4a05cfa8
2 changed files with 153 additions and 120 deletions
-1
View File
@@ -617,7 +617,6 @@ global $HTTPSPAGEREQUIRED;
}
if (!empty($CFG->usesid) && empty($_COOKIE['MoodleSession'.$CFG->sessioncookie])) {
require_once("$CFG->dirroot/lib/cookieless.php");
sid_start_ob();
}
/// In VERY rare cases old PHP server bugs (it has been found on PHP 4.1.2 running
/// as a CGI under IIS on Windows) may require that you uncomment the following: