12 Commits

Author SHA1 Message Date
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
9c055aa5d2 Can now edit own firstname and lastname, and some tidying 2002-08-06 09:36:42 +00:00
martin
8553b7005a Changes related to internationalision strings and printing them 2002-07-11 05:30:57 +00:00
martin
fa0626c6f4 Language-related fixes 2002-07-04 07:52:06 +00:00
martin
22f4320bdb Changes to support GD 1 and GD 2. Well, to be more accurate, we now
rely on the administrator to tell us which is installed because PHP
is not reliable  (eg GD 2.* functions are available in 4.0.6 and later
EVEN WHEN gd 2 is not present ... sigh).


So, new config variable  $CFG->gdversion
2002-06-13 11:18:52 +00:00
martin
603d4c7226 Better handling of guest user 2002-06-10 04:33:46 +00:00
martin
253ae7db0d Typo on add_to_log URL 2002-06-05 06:10:45 +00:00
martin
bda8d43a78 Changes to user settings, now it matches the stored data better 2002-06-05 05:37:55 +00:00
martin
873960de8c Changes related to timezone display. Datetime display now uses userdate()
which itself uses the USER variable timezone to alter the displayed time.
2002-06-05 03:15:30 +00:00
martin
da3a08d7ee Updated to use new logging format. 2002-05-31 09:15:36 +00:00
martin
54bdcdbecc Checks for bad permissions and defaults to default picture 2002-05-18 03:13:44 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00