| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester |
3 | # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester |
| 4 | # $Id: global.conf.dist,v 1.24 2003-06-09 21:10:03 gage Exp $ |
4 | # $Id: global.conf.dist,v 1.25 2003-06-09 23:41:43 gage Exp $ |
| 5 | ################################################################################ |
5 | ################################################################################ |
| 6 | |
6 | |
| 7 | # This file is used to set up the default WeBWorK course environment for all |
7 | # This file is used to set up the default WeBWorK course environment for all |
| 8 | # requests. Values may be overwritten by the course.conf for a specific course. |
8 | # requests. Values may be overwritten by the course.conf for a specific course. |
| 9 | # All package variables set in this file are added to the course environment. |
9 | # All package variables set in this file are added to the course environment. |
| … | |
… | |
| 118 | # 1: as in 0, plus user, set, problem, and PG data |
118 | # 1: as in 0, plus user, set, problem, and PG data |
| 119 | # 2: as in 1, plus the problem environment (debugging data) |
119 | # 2: as in 1, plus the problem environment (debugging data) |
| 120 | feedbackVerbosity => 1, |
120 | feedbackVerbosity => 1, |
| 121 | ); |
121 | ); |
| 122 | |
122 | |
|
|
123 | |
|
|
124 | |
| 123 | %externalPrograms = ( |
125 | %externalPrograms = ( |
| 124 | mkdir => "/bin/mkdir", |
126 | mkdir => "/bin/mkdir", |
| 125 | tth => "/usr/local/bin/tth", |
127 | tth => "/usr/local/bin/tth", |
| 126 | pdflatex => "/usr/local/bin/pdflatex", |
128 | pdflatex => "/usr/local/bin/pdflatex", |
| 127 | latex => "/usr/local/bin/latex", |
129 | latex => "/usr/local/bin/latex", |
| … | |
… | |
| 140 | ); |
142 | ); |
| 141 | |
143 | |
| 142 | ################################################################################ |
144 | ################################################################################ |
| 143 | # Database and session |
145 | # Database and session |
| 144 | ################################################################################ |
146 | ################################################################################ |
| 145 | # temporary values needed for using both GDBM databases. |
|
|
| 146 | # Use auser name for which all problems have been built, and none have |
|
|
| 147 | # been specifically reassigned. |
|
|
| 148 | #FIXME !!!! what hack!!!!!! |
|
|
| 149 | |
|
|
| 150 | $dbLayout{set}->{params}->{globalUserID} = "practice1"; |
|
|
| 151 | $dbLayout{problem}->{params}->{globalUserID} = "practice1"; |
|
|
| 152 | |
147 | |
| 153 | # dbInfo records some data for the "old" WW/Classlist/Auth.pm database system |
148 | # dbInfo records some data for the "old" WW/Classlist/Auth.pm database system |
| 154 | # {auth,wwdb,cldb}_type = database type: GDBM currently implemented |
149 | # {auth,wwdb,cldb}_type = database type: GDBM currently implemented |
| 155 | # {auth_passwd,auth_perm,auth_keys,wwdb,cldb}_file = path to database file |
150 | # {auth_passwd,auth_perm,auth_keys,wwdb,cldb}_file = path to database file |
| 156 | %dbInfo = ( |
151 | %dbInfo = ( |
| … | |
… | |
| 226 | ); |
221 | ); |
| 227 | |
222 | |
| 228 | # If you are using the GlobalTableEmulator, you need these to be set to |
223 | # If you are using the GlobalTableEmulator, you need these to be set to |
| 229 | # a user that will exist. Professors will probably want to override this |
224 | # a user that will exist. Professors will probably want to override this |
| 230 | # in their course's course.conf, using their own user name instead of "professor". |
225 | # in their course's course.conf, using their own user name instead of "professor". |
|
|
226 | |
| 231 | $dbLayout{set}->{params}->{globalUserID} = "professor"; |
227 | $dbLayout{set}->{params}->{globalUserID} = "professor"; |
| 232 | $dbLayout{problem}->{params}->{globalUserID} = "professor"; |
228 | $dbLayout{problem}->{params}->{globalUserID} = "professor"; |
| 233 | |
229 | |
| 234 | |
230 | |
| 235 | # This lets you specify a minimum permission level needed to perform |
231 | # This lets you specify a minimum permission level needed to perform |
| … | |
… | |
| 279 | showSolutions => 0, |
275 | showSolutions => 0, |
| 280 | catchWarnings => 1, |
276 | catchWarnings => 1, |
| 281 | # default grader |
277 | # default grader |
| 282 | grader => "avg_problem_grader", |
278 | grader => "avg_problem_grader", |
| 283 | }, |
279 | }, |
|
|
280 | # this will be customized in the course.conf file |
|
|
281 | specialPGEnvironmentVars => { |
|
|
282 | PRINT_FILE_NAMES_FOR => ['gage','apizer','voloshin','lr003k','professor'], |
|
|
283 | CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", |
|
|
284 | CAPA_MCTools => "$courseDirs{macros}/CAPA_MCTools/", |
|
|
285 | CAPA_Graphics_URL => "$courseDirs{html}/CAPA_Graphics/", |
|
|
286 | CAPA_GraphicsDirectory => "$courseDirs{html}CAPA_Graphics/", |
|
|
287 | }, |
| 284 | # modules lists module names and the packages each contains |
288 | # modules lists module names and the packages each contains |
| 285 | modules => [ |
289 | modules => [ |
| 286 | [qw(DynaLoader)], |
290 | [qw(DynaLoader)], |
| 287 | [qw(Exporter)], |
291 | [qw(Exporter)], |
| 288 | [qw(GD)], |
292 | [qw(GD)], |