| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK Online Homework Delivery System |
3 | # WeBWorK Online Homework Delivery System |
| 4 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
4 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
| 5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.47 2004/01/25 18:46:29 gage Exp $ |
5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.48 2004/02/12 04:25:47 sh002i Exp $ |
| 6 | # |
6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify it under |
7 | # This program is free software; you can redistribute it and/or modify it under |
| 8 | # the terms of either: (a) the GNU General Public License as published by the |
8 | # the terms of either: (a) the GNU General Public License as published by the |
| 9 | # Free Software Foundation; either version 2, or (at your option) any later |
9 | # Free Software Foundation; either version 2, or (at your option) any later |
| 10 | # version, or (b) the "Artistic License" which comes with this package. |
10 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 99 | environment => "$courseDirs{root}/course.conf", |
99 | environment => "$courseDirs{root}/course.conf", |
| 100 | motd => "$courseDirs{templates}/motd.txt", |
100 | motd => "$courseDirs{templates}/motd.txt", |
| 101 | logs => { |
101 | logs => { |
| 102 | answer_log => "$courseDirs{logs}/answer_log", |
102 | answer_log => "$courseDirs{logs}/answer_log", |
| 103 | }, |
103 | }, |
| 104 | course_info => "$courseDirs{templates}/course_info.txt", |
104 | course_info => "course_info.txt", # path relative to templates directory |
| 105 | login_info => "$courseDirs{templates}/login_info.txt", |
105 | login_info => "login_info.txt", # path relative to templates directory |
| 106 | ); |
106 | ); |
| 107 | |
107 | |
| 108 | # quick hack to fix transaction logging. blah. |
108 | # quick hack to fix transaction logging. blah. |
| 109 | $webworkFiles{logs}->{transaction} = "$courseDirs{logs}/transaction.log"; |
109 | $webworkFiles{logs}->{transaction} = "$courseDirs{logs}/transaction.log"; |
| 110 | $webworkFiles{logs}->{pastAnswerList} = "$courseDirs{logs}/past_answers.log"; |
110 | $webworkFiles{logs}->{pastAnswerList} = "$courseDirs{logs}/past_answers.log"; |
| … | |
… | |
| 119 | ################################################################################ |
119 | ################################################################################ |
| 120 | # Other site-specific options |
120 | # Other site-specific options |
| 121 | ################################################################################ |
121 | ################################################################################ |
| 122 | |
122 | |
| 123 | %mail = ( |
123 | %mail = ( |
| 124 | smtpServer => "mail.yourdomain.edu", |
124 | smtpServer => "mail.math.rochester.edu", |
| 125 | smtpSender => 'webwork@yourdomain.edu', |
125 | smtpSender => "webwork\@math.rochester.edu", |
| 126 | # allowedRecipients defines addresses that the PG system is allowed to |
126 | # allowedRecipients defines addresses that the PG system is allowed to |
| 127 | # send mail to. this prevents subtle PG exploits. This should be set |
127 | # send mail to. this prevents subtle PG exploits. This should be set |
| 128 | # in course.conf to the addresses of professors of each course. Sending |
128 | # in course.conf to the addresses of professors of each course. Sending |
| 129 | # mail from the PG system (i.e. questionaires, essay questions) will |
129 | # mail from the PG system (i.e. questionaires, essay questions) will |
| 130 | # fail if this is not set somewhere (either here or in course.conf). |
130 | # fail if this is not set somewhere (either here or in course.conf). |
| … | |
… | |
| 175 | # hash %dbLayouts. |
175 | # hash %dbLayouts. |
| 176 | include "conf/database.conf"; |
176 | include "conf/database.conf"; |
| 177 | |
177 | |
| 178 | # Select the default database layout. This can be overridden in the course.conf |
178 | # Select the default database layout. This can be overridden in the course.conf |
| 179 | # file of a particular course. |
179 | # file of a particular course. |
|
|
180 | #*dbLayout = $dbLayouts{sql}; |
| 180 | *dbLayout = $dbLayouts{gdbm}; |
181 | *dbLayout = $dbLayouts{gdbm}; |
| 181 | |
182 | |
| 182 | ################################################################################ |
183 | ################################################################################ |
| 183 | # Authorization system |
184 | # Authorization system |
| 184 | ################################################################################ |
185 | ################################################################################ |