Commit graph

108 commits

Author SHA1 Message Date
martin
df8fa8f1ee Damn .. this bug was stopping the admin user being created properly.
(Checking for uploaded file)
2002-08-08 07:20:38 +00:00
martin
8223d27193 Widespread changes throughout Moodle to make sure it works on
servers that have register_globals turned off (this is the
default setting on newer version of PHP).

In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables.  Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.

So, for every request I now make a copy of these two session variables
into $USER and $SESSION.  Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable.  This seems to be working well now.

Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
2002-08-06 17:23:45 +00:00
martin
3f63fdfbfb More admin cleanups - improved user listing 2002-08-03 04:57:45 +00:00
martin
ef58b82265 Misc changes to improve performance on a brand-new installation 2002-08-01 15:48:27 +00:00
martin
a83fded1a9 Consistent use of get_site() instead of checking course->category directly 2002-07-11 05:30:10 +00:00
martin
a9b07c5288 Moved creation of guest user to login page - this means it can be
trashed any time and it will recreate itself as necessary.
2002-06-10 04:24:50 +00:00
martin
da5c172a07 Changes to support guest user across any course (guest/guest) 2002-06-09 14:14:07 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00