/[smecontribs]/rpms/smeserver-moodle/contribs7/smeserver-moodle-1.0-191.patch
ViewVC logotype

Contents of /rpms/smeserver-moodle/contribs7/smeserver-moodle-1.0-191.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Jun 2 09:16:20 2008 UTC (16 years, 5 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-moodle-1_0-6_el4_sme, smeserver-moodle-1_0-8_el4_sme, smeserver-moodle-1_0-7_el4_sme, smeserver-moodle-1_0-9_el4_sme, smeserver-moodle-1_0-11_el4_sme
* Mon Jun 2 2008 Stephen Noble <support@dungog.net> 1.0-6
- update config.php file to 1.9.1

1 --- 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
2 +++ smeserver-moodle-1.0/root/etc/e-smith/templates/opt/moodle/html/config.php/10config-dist 2008-06-02 19:10:16.000000000 +1000
3 @@ -1,5 +1,12 @@
4
5 -///////////////////////////////////////////////////////////////////////////
6 +
7 +
8 +
9 +
10 +
11 +
12 +
13 +////////////////////////////////////////////////////////////////////////////
14 // //
15 // Moodle configuration file //
16 // //
17 @@ -12,7 +19,7 @@
18 // Moodle - Modular Object-Oriented Dynamic Learning Environment //
19 // http://moodle.org //
20 // //
21 -// Copyright (C) 1999-2004 Martin Dougiamas http://dougiamas.com //
22 +// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com //
23 // //
24 // This program is free software; you can redistribute it and/or modify //
25 // it under the terms of the GNU General Public License as published by //
26 @@ -132,9 +139,6 @@
27 // These are additional tweaks for which no GUI exists in Moodle yet.
28 //
29 //
30 -// Prevent users from updating their profile images
31 -// $CFG->disableuserimages = true;
32 -//
33 // Prevent scheduled backups from operating (and hide the GUI for them)
34 // Useful for webhost operators who have alternate methods of backups
35 // $CFG->disablescheduledbackups = true;
36 @@ -142,10 +146,6 @@
37 // Prevent stats processing and hide the GUI
38 // $CFG->disablestatsprocessing = true;
39 //
40 -// Set global password for "Login as", teacher is prompted only once in each session.
41 -// Set your own password and tell it only to teachers that should have access to this feature.
42 -// $CFG->loginaspassword = 'yoursharedpassword';
43 -//
44 // Setting this to true will enable admins to edit any post at any time
45 // $CFG->admineditalways = true;
46 //
47 @@ -178,10 +178,10 @@
48 // This setting will prevent the 'My Courses' page being displayed when a student
49 // logs in. The site front page will always show the same (logged-out) view.
50 // $CFG->disablemycourses = true;
51 -//
52 -// If this setting is set to true, then Moodle will track the IP of the
53 -// current user to make sure it hasn't changed during a session. This
54 -// will prevent the possibility of sessions being hijacked via XSS, but it
55 +//
56 +// If this setting is set to true, then Moodle will track the IP of the
57 +// current user to make sure it hasn't changed during a session. This
58 +// will prevent the possibility of sessions being hijacked via XSS, but it
59 // may break things for users coming using proxies that change all the time,
60 // like AOL.
61 // $CFG->tracksessionip = true;
62 @@ -193,17 +193,17 @@
63 // $CFG->bounceratio = .20;
64 // The next lines are needed both for bounce handling and any other email to module processing.
65 // mailprefix must be EXACTLY four characters.
66 -// Uncomment and customise this block for Postfix
67 +// Uncomment and customise this block for Postfix
68 // $CFG->mailprefix = 'mdl+'; // + is the separator for Exim and Postfix.
69 -// $CFG->mailprefix = 'mdl-'; // - is the separator for qmail
70 +// $CFG->mailprefix = 'mdl-'; // - is the separator for qmail
71 // $CFG->maildomain = 'youremaildomain.com';
72 //
73 -// The following setting will tell Moodle to respect your PHP session
74 +// The following setting will tell Moodle to respect your PHP session
75 // settings. Use this if you want to control session configuration
76 -// from php.ini, httpd.conf or .htaccess files.
77 +// from php.ini, httpd.conf or .htaccess files.
78 // $CFG->respectsessionsettings = true;
79 //
80 -// This setting will cause the userdate() function not to fix %d in
81 +// This setting will cause the userdate() function not to fix %d in
82 // date strings, and just let them show with a zero prefix.
83 // $CFG->nofixday = true;
84 //
85 @@ -222,12 +222,12 @@
86 // Custom scripts should not include config.php
87 // Warning: Replacing standard moodle scripts may pose security risks and/or may not
88 // be compatible with upgrades. Use this option only if you are aware of the risks
89 -// involved.
90 +// involved.
91 // Specify the full directory path to the custom scripts
92 // $CFG->customscripts = '/home/example/customscripts';
93 //
94 -// Performance profiling
95 -//
96 +// Performance profiling
97 +//
98 // If you set Debug to "Yes" in the Configuration->Variables page some
99 // performance profiling data will show up on your footer (in default theme).
100 // With these settings you get more granular control over the capture
101 @@ -246,7 +246,7 @@
102 // define('MDL_PERFTOFOOT', true);
103 //
104 // Force displayed usernames
105 -// A little hack to anonymise user names for all students. If you set these
106 +// A little hack to anonymise user names for all students. If you set these
107 // then all non-teachers will always see these for every person.
108 // $CFG->forcefirstname = 'Bruce';
109 // $CFG->forcelastname = 'Simpson';
110 @@ -256,28 +256,56 @@
111 // called. This option will action disregarding error_reporting setting.
112 // $CFG->dblogerror = true;
113 //
114 +// The following setting will log every database query to a table called adodb_logsql.
115 +// Use this setting on a development server only, the table grows quickly!
116 +// $CFG->logsql = true;
117 +//
118 // The following setting will turn on username logging into Apache log. For full details regarding setting
119 // up of this function please refer to the install section of the document.
120 // $CFG->apacheloguser = 0; // Turn this feature off. Default value.
121 // $CFG->apacheloguser = 1; // Log user id.
122 // $CFG->apacheloguser = 2; // Log full name in cleaned format. ie, Darth Vader will be displayed as darth_vader.
123 -// $CFG->apacheloguser = 3; // Log username.
124 +// $CFG->apacheloguser = 3; // Log username.
125 // To get the values logged in Apache's log, add to your httpd.conf
126 // the following statements. In the General part put:
127 -// LogFormat ---see distribution config-dist.php---
128 +// LogFormat "%h %l %{MOODLEUSER}n %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" moodleformat
129 // And in the part specific to your Moodle install / virtualhost:
130 // CustomLog "/your/path/to/log" moodleformat
131 // CAUTION: Use of this option will expose usernames in the Apache log,
132 // If you are going to publish your log, or the output of your web stats analyzer
133 // this will weaken the security of your website.
134 -//
135 -// Email database connection errors to someone. If Moodle cannot connect to the
136 +//
137 +// Email database connection errors to someone. If Moodle cannot connect to the
138 // database, then email this address with a notice.
139 //
140 // $CFG->emailconnectionerrorsto = 'your@emailaddress.com';
141 +//
142 +// NOTE: if you are using custompix in your theme, see /fixpix.php.
143 +//
144 +// special magic evil developer only wanting to edit the xmldb files manually
145 +// AND don't use the XMLDBEditor nor the prev/next stuff at all (Mahara and others)
146 +// Uncomment these if you're lazy like Penny
147 +// $CFG->xmldbdisablecommentchecking = true;
148 +// $CFG->xmldbdisablenextprevchecking = true;
149 +//
150 +// special magig evil developer only wanting to edit xmldb files manually
151 +// AND allowing the XMLDBEditor to recostruct the prev/next elements every
152 +// time one file is loaded and saved (Moodle).
153 +// Uncomment this if you're lazy like Petr
154 +// $CFG->xmldbreconstructprevnext = true;
155 +//
156 +// Set the priority of themes from highest to lowest. This is useful (for
157 +// example) in sites where the user theme should override all other theme
158 +// settings for accessibility reasons. You can also disable types of themes
159 +// by removing them from the array. The default setting is:
160 +// $CFG->themeorder = array('page', 'course', 'category', 'session', 'user', 'site');
161 +// NOTE: course, category, session, user themes still require the
162 +// respective settings to be enabled
163 //
164 -// Restore pre-1.6 behaviour where courses could still be available
165 -// even if the category they were in was hidden
166 -// $CFG->allowvisiblecoursesinhiddencategories = true;
167 +// When working with production data on test servers, no emails should ever be send to real users
168 +// $CFG->noemailever = true;
169 //
170 -// NOTE: if you are using custompix in your theme, see /fixpix.php.
171 +//
172 +//=========================================================================
173 +// ALL DONE! To continue installation, visit your main page with a browser
174 +//=========================================================================

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed