--- smeserver-moodle-1.0/root/etc/e-smith/templates/opt/moodle/html/config.php/10config-dist.191 2008-06-02 19:09:02.000000000 +1000 +++ smeserver-moodle-1.0/root/etc/e-smith/templates/opt/moodle/html/config.php/10config-dist 2008-06-02 19:10:16.000000000 +1000 @@ -1,5 +1,12 @@ -/////////////////////////////////////////////////////////////////////////// + + + + + + + +//////////////////////////////////////////////////////////////////////////// // // // Moodle configuration file // // // @@ -12,7 +19,7 @@ // Moodle - Modular Object-Oriented Dynamic Learning Environment // // http://moodle.org // // // -// Copyright (C) 1999-2004 Martin Dougiamas http://dougiamas.com // +// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com // // // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // @@ -132,9 +139,6 @@ // These are additional tweaks for which no GUI exists in Moodle yet. // // -// Prevent users from updating their profile images -// $CFG->disableuserimages = true; -// // Prevent scheduled backups from operating (and hide the GUI for them) // Useful for webhost operators who have alternate methods of backups // $CFG->disablescheduledbackups = true; @@ -142,10 +146,6 @@ // Prevent stats processing and hide the GUI // $CFG->disablestatsprocessing = true; // -// Set global password for "Login as", teacher is prompted only once in each session. -// Set your own password and tell it only to teachers that should have access to this feature. -// $CFG->loginaspassword = 'yoursharedpassword'; -// // Setting this to true will enable admins to edit any post at any time // $CFG->admineditalways = true; // @@ -178,10 +178,10 @@ // This setting will prevent the 'My Courses' page being displayed when a student // logs in. The site front page will always show the same (logged-out) view. // $CFG->disablemycourses = true; -// -// If this setting is set to true, then Moodle will track the IP of the -// current user to make sure it hasn't changed during a session. This -// will prevent the possibility of sessions being hijacked via XSS, but it +// +// If this setting is set to true, then Moodle will track the IP of the +// current user to make sure it hasn't changed during a session. This +// will prevent the possibility of sessions being hijacked via XSS, but it // may break things for users coming using proxies that change all the time, // like AOL. // $CFG->tracksessionip = true; @@ -193,17 +193,17 @@ // $CFG->bounceratio = .20; // The next lines are needed both for bounce handling and any other email to module processing. // mailprefix must be EXACTLY four characters. -// Uncomment and customise this block for Postfix +// Uncomment and customise this block for Postfix // $CFG->mailprefix = 'mdl+'; // + is the separator for Exim and Postfix. -// $CFG->mailprefix = 'mdl-'; // - is the separator for qmail +// $CFG->mailprefix = 'mdl-'; // - is the separator for qmail // $CFG->maildomain = 'youremaildomain.com'; // -// The following setting will tell Moodle to respect your PHP session +// The following setting will tell Moodle to respect your PHP session // settings. Use this if you want to control session configuration -// from php.ini, httpd.conf or .htaccess files. +// from php.ini, httpd.conf or .htaccess files. // $CFG->respectsessionsettings = true; // -// This setting will cause the userdate() function not to fix %d in +// This setting will cause the userdate() function not to fix %d in // date strings, and just let them show with a zero prefix. // $CFG->nofixday = true; // @@ -222,12 +222,12 @@ // Custom scripts should not include config.php // Warning: Replacing standard moodle scripts may pose security risks and/or may not // be compatible with upgrades. Use this option only if you are aware of the risks -// involved. +// involved. // Specify the full directory path to the custom scripts // $CFG->customscripts = '/home/example/customscripts'; // -// Performance profiling -// +// Performance profiling +// // If you set Debug to "Yes" in the Configuration->Variables page some // performance profiling data will show up on your footer (in default theme). // With these settings you get more granular control over the capture @@ -246,7 +246,7 @@ // define('MDL_PERFTOFOOT', true); // // Force displayed usernames -// A little hack to anonymise user names for all students. If you set these +// A little hack to anonymise user names for all students. If you set these // then all non-teachers will always see these for every person. // $CFG->forcefirstname = 'Bruce'; // $CFG->forcelastname = 'Simpson'; @@ -256,28 +256,56 @@ // called. This option will action disregarding error_reporting setting. // $CFG->dblogerror = true; // +// The following setting will log every database query to a table called adodb_logsql. +// Use this setting on a development server only, the table grows quickly! +// $CFG->logsql = true; +// // The following setting will turn on username logging into Apache log. For full details regarding setting // up of this function please refer to the install section of the document. // $CFG->apacheloguser = 0; // Turn this feature off. Default value. // $CFG->apacheloguser = 1; // Log user id. // $CFG->apacheloguser = 2; // Log full name in cleaned format. ie, Darth Vader will be displayed as darth_vader. -// $CFG->apacheloguser = 3; // Log username. +// $CFG->apacheloguser = 3; // Log username. // To get the values logged in Apache's log, add to your httpd.conf // the following statements. In the General part put: -// LogFormat ---see distribution config-dist.php--- +// LogFormat "%h %l %{MOODLEUSER}n %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" moodleformat // And in the part specific to your Moodle install / virtualhost: // CustomLog "/your/path/to/log" moodleformat // CAUTION: Use of this option will expose usernames in the Apache log, // If you are going to publish your log, or the output of your web stats analyzer // this will weaken the security of your website. -// -// Email database connection errors to someone. If Moodle cannot connect to the +// +// Email database connection errors to someone. If Moodle cannot connect to the // database, then email this address with a notice. // // $CFG->emailconnectionerrorsto = 'your@emailaddress.com'; +// +// NOTE: if you are using custompix in your theme, see /fixpix.php. +// +// special magic evil developer only wanting to edit the xmldb files manually +// AND don't use the XMLDBEditor nor the prev/next stuff at all (Mahara and others) +// Uncomment these if you're lazy like Penny +// $CFG->xmldbdisablecommentchecking = true; +// $CFG->xmldbdisablenextprevchecking = true; +// +// special magig evil developer only wanting to edit xmldb files manually +// AND allowing the XMLDBEditor to recostruct the prev/next elements every +// time one file is loaded and saved (Moodle). +// Uncomment this if you're lazy like Petr +// $CFG->xmldbreconstructprevnext = true; +// +// Set the priority of themes from highest to lowest. This is useful (for +// example) in sites where the user theme should override all other theme +// settings for accessibility reasons. You can also disable types of themes +// by removing them from the array. The default setting is: +// $CFG->themeorder = array('page', 'course', 'category', 'session', 'user', 'site'); +// NOTE: course, category, session, user themes still require the +// respective settings to be enabled // -// Restore pre-1.6 behaviour where courses could still be available -// even if the category they were in was hidden -// $CFG->allowvisiblecoursesinhiddencategories = true; +// When working with production data on test servers, no emails should ever be send to real users +// $CFG->noemailever = true; // -// NOTE: if you are using custompix in your theme, see /fixpix.php. +// +//========================================================================= +// ALL DONE! To continue installation, visit your main page with a browser +//=========================================================================