37 Commits

Author SHA1 Message Date
moodler
5704a98da7 Some docs for PostgreSQL sockets users (see bug #749) 2003-09-14 17:50:07 +00:00
moodler
42b76b11bd Slightly different way of doing this to avoid problems with error_reporting
not working.
2003-09-01 12:07:06 +00:00
moodler
f7a6049e57 Checking in the include error code in again, with improvements
The problems I thought were happening were in fact another problem
on someone's installation (missing files).  This code now checks
for that too.
2003-05-26 01:54:11 +00:00
moodler
aa140aabfd Going back to old method, as the new one seems to have problems on some
platforms.
2003-05-25 12:11:10 +00:00
moodler
d8e2e28044 Added a check to make sure CFG->dirroot is correct. 2003-05-23 08:54:36 +00:00
moodler
54242af0d6 Changed default strings to use single-quotes and avoid possible slash problems 2003-05-19 07:41:12 +00:00
moodler
ae384ef160 New configuration variable: secureforms (defaults to 'true')
Replaces the old $CFG->buggy_referer (reverses it, in fact) and can
now be set in the configuration page (no need for it in config.php).
2003-05-15 15:59:52 +00:00
moodler
3d9f0f81d6 IMPORTANT SECURITY FIX - this makes sure $CFG can not be overridden 2003-05-09 02:02:27 +00:00
moodler
be09831ac3 More info about admin location and a fix 2003-04-10 13:57:21 +00:00
moodler
4c31e7cfba Removed main_frame 2003-03-12 08:37:42 +00:00
gregb_cc
08b3606390 This is a first attempt to make moodle frame safe.
I've added the variable CFG->main_frame to config-dist.php, and replaced _top
targets with the variable in all the php files.  HTML files, like those in the
documentation, have not been modified, as they are not (yet) parsed.

The variable should probably get moved into the config table, and get some
documentation.

I've also included, but commented out, a slight change in weblib.php, which
would guarantee that messages would be seen before redirecting the user (unless
delay intentionally set to 0 when redirect is used).
2003-03-11 21:35:12 +00:00
moodler
1685298e60 Removed a line from config.php 2003-01-12 06:31:07 +00:00
moodler
704ac9fe76 Slightly clearer documentation 2003-01-11 05:29:49 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
4e042a3ee9 Clearer directions. 2002-12-23 14:44:32 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
bb55809320 Another hint for the Windows users 2002-12-10 17:26:30 +00:00
moodler
076b229292 Changed it to DOS format to help Windows users 2002-11-19 14:35:07 +00:00
moodler
b9b2750adb Added info about $CFG->buggy_referer 2002-11-17 11:00:55 +00:00
martin
74944b734d Most of the configuration variables have been moved out of the config.php
file and into a database, where they can be edited using a new admin form
called "Configure variables".
2002-09-19 12:01:55 +00:00
martin
7b5271354b Mentioned there's no need to use a trailing slash on the wwwroot 2002-09-15 06:09:44 +00:00
martin
9febf87563 Added ability to define proxy machine (eg a firewall) so that Moodle
is able to get to the Internet if it needs to
2002-09-02 06:34:43 +00:00
martin
3f8247c2ea Changes to use a new configuration variable: CFG->slasharguments
If true, then display of user pictures or filenames will use the
method of providing arguments as "slash" arguments - this is much
better for caching, proxies, search engines etc.  Unfortunately
it doesn't seem to work on some PHP installations.

If false (the default), then a more compatible method is used
(ie usual way of passing parameters to scripts)
2002-08-26 09:48:00 +00:00
martin
8ce53f0f85 New CFG->zip and CFG->unzip valiables which specify programs to use
when zipping and unzipping files.  Unix only at this stage. (Zip interfaces
for Windows are much less standardised)
2002-08-18 15:26:04 +00:00
martin
1e3e716f1d Changes related to new way of setting and recalling themes.
The CFG->theme variable is now obsolete in config.php - use the
admin page to set themes interactively.
2002-08-17 13:01:06 +00:00
martin
bd2bed9345 Mention the new themes 2002-08-11 06:24:28 +00:00
martin
48647134e3 Slightly clearer explanations ... 2002-08-08 02:11:16 +00:00
martin
515b9f306e Made it a bit clearer. 2002-08-06 12:58:21 +00:00
martin
1f7227e1c2 New config variable longtimenosee 2002-08-05 07:59:37 +00:00
martin
fa0626c6f4 Language-related fixes 2002-07-04 07:52:06 +00:00
martin
1d16c5717b Slight changes to documentation 2002-07-02 04:19:54 +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
2569999130 Altered smtphosts and removed cronpassword 2002-06-06 15:25:36 +00:00
martin
3eb3901ef1 Indicates only MySQL is supported for now. 2002-05-31 09:37:16 +00:00
martin
bb5a36e4d5 Added CFG->cronpassword for moodle/admin/cron.php 2002-05-27 06:16:38 +00:00
martin
4eccdb5d93 smtphost --> smtphosts 2002-05-19 03:51:01 +00:00
martin
ede50d6f6d Added to eliminate problems of config.php being overwritten 2002-05-17 13:38:05 +00:00