Added an error message to catch some cases of sessions not working

This commit is contained in:
moodler
2004-01-02 14:11:21 +00:00
parent c133989f09
commit ea229804e1
+4
View File
@@ -21,6 +21,10 @@
// so that users can set up their accounts
$newaccount = true;
if (empty($USER) {
error("Sessions don't seem to be working on this server!");
}
} else {
$newaccount = false;
require_login($course->id);