Log of /moodle/config-dist.php
Parent Directory
Revision
1.123 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Nov 17 13:58:24 2009 WST (6 days, 2 hours ago) by
moodler
Branch:
MAIN
Changes since
1.122: +7 -0 lines
Diff to
previous 1.122
backup/nopasswords MDL-20383 Backups are now never saved with user passwords unless the admin has defined $CFG->includeuserbackupsinpasswords in config.php (Merged from 1.9) Credits to Eloy
Revision
1.118 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 1 13:54:36 2009 WST (4 months, 3 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.117: +3 -3 lines
Diff to
previous 1.117
themes: MDL-19077 change how the theme is initialised and CSS is served.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F
$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.
CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)
Admin UI for choosing a theme cleaned up.
A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php
Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
Revision
1.113 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jan 13 01:52:56 2009 WST (10 months, 1 week ago) by
skodak
Branch:
MAIN
Changes since
1.112: +12 -6 lines
Diff to
previous 1.112
MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead
Revision
1.112 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 11 01:06:53 2009 WST (10 months, 1 week ago) by
skodak
Branch:
MAIN
Changes since
1.111: +22 -14 lines
Diff to
previous 1.111
MDL-16483 $CFG->unittestprefix not required anymore to run unit tests that do not need fake db; it should be saer to let admins modify the prefix in config.php instead of modifying it from php
Revision
1.111 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jan 6 06:37:20 2009 WST (10 months, 2 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.110: +11 -1 lines
Diff to
previous 1.110
MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support
Revision
1.107 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jun 30 23:01:24 2008 WST (16 months, 3 weeks ago) by
thepurpleblob
Branch:
MAIN
Changes since
1.106: +7 -0 lines
Diff to
previous 1.106
MDL-15476
Can now override the public key lifetime by specificying value
for $CFG->mnetkeylifetime in config.php
Merged from STABLE_19
Revision
1.102 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 6 00:24:24 2007 WST (2 years, 4 months ago) by
stronk7
Branch:
MAIN
Changes since
1.101: +9 -2 lines
Diff to
previous 1.101
New $CFG->xmldbreconstructprevnext setting to allow edition of XMLDB
out from the XMLDBEditor, ignoring the prev/next stuff, that will be
automatically regenerated by the Editor by simply loading and saving
the edited file. Credit goes to skodak!
Revision
1.99 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Apr 20 08:10:52 2007 WST (2 years, 7 months ago) by
mjollnir_
Branch:
MAIN
Changes since
1.98: +7 -2 lines
Diff to
previous 1.98
xmldb: added $CFG options for disabling next / previous value checkings & enforced comment checking. merged from mahara :)
Revision
1.98 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 12 01:23:33 2006 WST (3 years ago) by
skodak
Branch:
MAIN
CVS Tags:
MOODLE_18,
MOODLE_181,
MOODLE_1810,
MOODLE_182,
MOODLE_183,
MOODLE_184,
MOODLE_185,
MOODLE_186,
MOODLE_187,
MOODLE_188,
MOODLE_189,
MOODLE_18_BETA,
MOODLE_18_GROUPS_PRE,
MOODLE_18_GROUPS_PRE_MERGE
Branch point for:
MOODLE_18_GROUPS,
MOODLE_18_STABLE
Changes since
1.97: +1 -5 lines
Diff to
previous 1.97
we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left
Revision
1.97 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Sep 3 23:46:21 2006 WST (3 years, 2 months ago) by
moodler
Branch:
MAIN
CVS Tags:
MOODLE_17,
MOODLE_171,
MOODLE_172,
MOODLE_173,
MOODLE_174,
MOODLE_175,
MOODLE_176,
MOODLE_177,
MOODLE_17_BETA,
MOODLE_17_BETA2,
MOODLE_17_MERGED,
MOODLE_17_WEEKLY
Branch point for:
MOODLE_17_STABLE
Changes since
1.96: +4 -1 lines
Diff to
previous 1.96
Merging $CFG->disablestatsprocessing from stable
Revision
1.93 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Mar 20 23:06:10 2006 WST (3 years, 8 months ago) by
thepurpleblob
Branch:
MAIN
Changes since
1.92: +1 -9 lines
Diff to
previous 1.92
Removed comments for global filter settings.
These now have a GUI option on the admin=>filters page
Revision
1.92 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 4 19:35:08 2006 WST (3 years, 8 months ago) by
skodak
Branch:
MAIN
Changes since
1.91: +10 -4 lines
Diff to
previous 1.91
optional unicode characters and better conversion to ascii in function clean_file(); fixed textlib setup code; unicode related cleanup in config-dist.php
I am going to review the usage of clean_filename() now
Revision
1.91 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 4 04:33:37 2006 WST (3 years, 8 months ago) by
skodak
Branch:
MAIN
Changes since
1.90: +5 -1 lines
Diff to
previous 1.90
Optional "Login as" password protection - please test, usage explained in config-dist.php
Revision
1.89 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 1 17:06:57 2006 WST (3 years, 8 months ago) by
moodler
Branch:
MAIN
Changes since
1.88: +7 -1 lines
Diff to
previous 1.88
Added a new config variable that will mail db connection errors to someone (eg admin)
Revision
1.88 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 23 15:04:12 2006 WST (3 years, 9 months ago) by
ikawhero
Branch:
MAIN
Changes since
1.87: +4 -3 lines
Diff to
previous 1.87
Making custom scripts path generic so it is not forced to be in the
dataroot directory which is writable by the web server.
Path cleaned to avoid relative directory links.
Revision
1.85 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 14 23:35:23 2005 WST (4 years, 4 months ago) by
moodler
Branch:
MAIN
Changes since
1.84: +16 -1 lines
Diff to
previous 1.84
Adding the capability to replace existing scripts with customised versions.
See config-dist.php for more info.
Will add an admin interface for this later.
Shane.
Revision
1.81 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue May 17 12:03:48 2005 WST (4 years, 6 months ago) by
martinlanghoff
Branch:
MAIN
Changes since
1.80: +9 -1 lines
Diff to
previous 1.80
Apache log integration -- updated with more options to control what is logged as username. Implemented by Patrick Li.
Revision
1.77 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue May 10 14:18:30 2005 WST (4 years, 6 months ago) by
moodler
Branch:
MAIN
Changes since
1.76: +6 -1 lines
Diff to
previous 1.76
A quick hack to allow anonymising of all names.
You can make everyone have the name "Bruce" if you want. }-)
Revision
1.76 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Apr 7 08:11:19 2005 WST (4 years, 7 months ago) by
martinlanghoff
Branch:
MAIN
Changes since
1.75: +21 -1 lines
Diff to
previous 1.75
Performance/footprint profiling patch complete -- is enabled by CFG->default>7 or by a few defines in your config.php.
Revision
1.75 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Mar 22 07:47:21 2005 WST (4 years, 8 months ago) by
stronk7
Branch:
MAIN
Changes since
1.74: +5 -1 lines
Diff to
previous 1.74
Added support for $CFG->filtermatchoneperpage, allowing a phrase
to be linked only once in the entire page.
Revision
1.74 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Mar 21 16:37:42 2005 WST (4 years, 8 months ago) by
moodler
Branch:
MAIN
Changes since
1.73: +2 -2 lines
Diff to
previous 1.73
Changed variable name because Eloy has plans for $CFG->filtermatchoneperpage :-)
Revision
1.69 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Feb 14 06:54:24 2005 WST (4 years, 9 months ago) by
martinlanghoff
Branch:
MAIN
Changes since
1.68: +8 -2 lines
Diff to
previous 1.68
Merged from MOODLE_14_STABLE - Added option to respect php.ini session settings, else we reenable garbage collection for sessions. Fixes stale session problems with Debian systems, but still allows package maintainers to override.
Revision
1.68 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Feb 8 10:57:12 2005 WST (4 years, 9 months ago) by
mjollnir_
Branch:
MAIN
Changes since
1.67: +12 -1 lines
Diff to
previous 1.67
First cut of email to module (or core) processing.
This patch contains:
* email_to_user will set the envelope sender to a special bounce processing address (based on $CFG settings)
* email_to_user will accept (and set) a reply-to header, to be generated by the module calling the function.
* new functions:
* generate_email_processing_address - ALWAYS use this to generate the reply-to header. reply-to header will look like this:
(LIMIT: 64 chars total)
prefix - EXACTLY four chars
encodeded, packed, moduleid (0 for core) (2 chars)
up to 42 chars for the modules to put anything they want it (can contain userid (or, eg for forum, postids to reply to), or anything really. 42 chars is ABSOLUTE LIMIT)
16 char hash (half an md5) of the first part of the address, together with a site "secret"
* moodle_process_email - any non-module email processing goes here (currently used for processing bounces)
* bounce handling:
* config settings for bounce threshold and ratio (and whether to handle bounces at all)
* if too many bounces occur against any given user, user_not_fully_set_up will force an email address change
* associated functions (over_bounce_threshold, set_send_count, set_bounce_count)
* handling emails to noreply address (see below)
* new script - admin/process_email.php
This script needs to be called from your mail program for anything starting with the 4 char prefix described above (and optionally, the noreply address)
It will bounce emails to the noreplyaddress, with a friendly "this is not a real email address" message
It will break down and unencode the email address into moduleid and validate the half md5 hash, and call $modname_process_email (if it exists). Arguments to these functions are: $modargs (any part of the email address that isn't the prefix, modid or the hash) and the contents of the email (read from STDIN).
* associated string changes/additions
* changes in config-dist.php to give clues as to how to set this up.
MODULE WRITERS!
take a look at new functions moodle_process_email and generate_email_processing_address in moodlelib.php for ideas about how to
* encode and unencode the arguments your module needs to do the processing
* how to deal with multiple "actions" for any given module.
Martin Langhoff <martin@catalyst.net.nz> will be writing up some PROPER documentation, containing amongst other things config settings for different mail servers (this was developed against Postfix). Feel free to email me with any feedback on the code or design, penny@catalyst.net.nz. Or post on the developer fourm.
Revision
1.67 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Dec 26 22:45:38 2004 WST (4 years, 10 months ago) by
moodler
Branch:
MAIN
Changes since
1.66: +1 -1 lines
Diff to
previous 1.66
Some changes that may help on safe mode ... see bug 2093
The new directory permissions maintain group mode better,
and the manual chown is now removed to prevent safe mode
from getting upset.
Revision
1.66 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Sep 27 22:35:37 2004 WST (5 years, 1 month ago) by
moodler
Branch:
MAIN
Changes since
1.65: +7 -0 lines
Diff to
previous 1.65
New config variable $CFG->tracksessionip will force Moodle to always
check that the user's IP number never changes
Revision
1.59 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Aug 21 18:12:06 2004 WST (5 years, 3 months ago) by
julmis
Branch:
MAIN
Changes since
1.58: +27 -24 lines
Diff to
previous 1.58
Add editor settings feature and Ludo's (Marc Alier) spellchecking functionality.
- Needs testing and should consider unstable.
Revision
1.55 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat May 15 15:30:29 2004 WST (5 years, 6 months ago) by
moodler
Branch:
MAIN
Changes since
1.54: +9 -2 lines
Diff to
previous 1.54
A new option (off by default) will remove restrictions on usernames.
$CFG->extendedusernamechars
Revision
1.53 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Apr 27 21:57:46 2004 WST (5 years, 6 months ago) by
moodler
Branch:
MAIN
Changes since
1.52: +6 -1 lines
Diff to
previous 1.52
New developmental setting to force UTF for the whole server
Plus, some optimisation on the way encoding is stored (in the session).
Revision
1.46 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Feb 9 20:27:34 2004 WST (5 years, 9 months ago) by
moodler
Branch:
MAIN
Changes since
1.45: +9 -1 lines
Diff to
previous 1.45
TEXT CACHING
------------
I have a site which really needs this, so I went ahead with it already.
This add-on will cache formatted texts in the database and use them
for a specified timeperiod.
By default it is disabled. Enable it with:
$CFG->cachetext = 600; // in seconds
Revision
1.45 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Feb 8 22:27:54 2004 WST (5 years, 9 months ago) by
moodler
Branch:
MAIN
Changes since
1.44: +23 -1 lines
Diff to
previous 1.44
Added some documentation about a few preferences that are only in config.php
right now.
Revision
1.42 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jan 26 03:04:36 2004 WST (5 years, 9 months ago) by
gustav_delius
Branch:
MAIN
Changes since
1.41: +1 -161 lines
Diff to
previous 1.41
removed empty lines, which for example messed up the display of the license terms
Revision
1.39 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Oct 29 16:06:06 2003 WST (6 years ago) by
moodler
Branch:
MAIN
Changes since
1.38: +10 -1 lines
Diff to
previous 1.38
Changes to integrate the new HTML editor into Moodle in an optional way
until it's stable enough to replace Richtext
To enable the new editor, add this line into config.php:
$CFG->useneweditor = true;
Revision
1.38 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Oct 13 22:11:16 2003 WST (6 years, 1 month ago) by
moodler
Branch:
MAIN
Changes since
1.37: +12 -1 lines
Diff to
previous 1.37
NEW EXPERIMENTAL FEATURE: text filters.
This new feature allows arbitrary text filters to be added to
any HTML that is printed (forum posts, resources etc) ... anything
that uses the standard format_text function.
The first one properly supported is the glossary dynamic linking
feature.
Revision
1.35 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon May 26 09:54:11 2003 WST (6 years, 6 months ago) by
moodler
Branch:
MAIN
CVS Tags:
Moodle_109,
Moodle_11,
Moodle_11b
Changes since
1.34: +13 -3 lines
Diff to
previous 1.34
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.
Revision
1.34 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun May 25 20:11:10 2003 WST (6 years, 6 months ago) by
moodler
Branch:
MAIN
Changes since
1.33: +3 -8 lines
Diff to
previous 1.33
Going back to old method, as the new one seems to have problems on some
platforms.
Revision
1.32 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon May 19 15:41:12 2003 WST (6 years, 6 months ago) by
moodler
Branch:
MAIN
Changes since
1.31: +14 -13 lines
Diff to
previous 1.31
Changed default strings to use single-quotes and avoid possible slash problems
Revision
1.31 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu May 15 23:59:51 2003 WST (6 years, 6 months ago) by
moodler
Branch:
MAIN
CVS Tags:
Moodle_109_B1
Changes since
1.30: +2 -14 lines
Diff to
previous 1.30
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).
Revision
1.27 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 12 05:35:10 2003 WST (6 years, 8 months ago) by
gregb_cc
Branch:
MAIN
Changes since
1.26: +3 -1 lines
Diff to
previous 1.26
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).
Revision
1.24 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 5 22:19:17 2003 WST (6 years, 10 months ago) by
moodler
Branch:
MAIN
Changes since
1.23: +2 -2 lines
Diff to
previous 1.23
Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
Revision
1.22 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Dec 20 22:43:54 2002 WST (6 years, 11 months ago) by
moodler
Branch:
MAIN
Changes since
1.21: +5 -3 lines
Diff to
previous 1.21
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.
Revision
1.18 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 19 20:01:54 2002 WST (7 years, 2 months ago) by
martin
Branch:
MAIN
Changes since
1.17: +55 -109 lines
Diff to
previous 1.17
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".
Revision
1.16 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Sep 2 14:34:43 2002 WST (7 years, 2 months ago) by
martin
Branch:
MAIN
Changes since
1.15: +10 -1 lines
Diff to
previous 1.15
Added ability to define proxy machine (eg a firewall) so that Moodle
is able to get to the Internet if it needs to
Revision
1.15 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Aug 26 17:48:00 2002 WST (7 years, 2 months ago) by
martin
Branch:
MAIN
Changes since
1.14: +11 -1 lines
Diff to
previous 1.14
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)
Revision
1.14 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Aug 18 23:26:04 2002 WST (7 years, 3 months ago) by
martin
Branch:
MAIN
Changes since
1.13: +8 -1 lines
Diff to
previous 1.13
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)
Revision
1.13 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Aug 17 21:01:06 2002 WST (7 years, 3 months ago) by
martin
Branch:
MAIN
Changes since
1.12: +1 -8 lines
Diff to
previous 1.12
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.
Revision
1.6 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jun 13 19:18:52 2002 WST (7 years, 5 months ago) by
martin
Branch:
MAIN
Changes since
1.5: +7 -1 lines
Diff to
previous 1.5
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
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.