| 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.36 2003-06-21 02:34:10 gage Exp $ |
4 | # $Id: global.conf.dist,v 1.37 2003-07-14 15:21:52 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. |
| … | |
… | |
| 24 | bin => "$webworkRoot/bin", |
24 | bin => "$webworkRoot/bin", |
| 25 | conf => "$webworkRoot/conf", |
25 | conf => "$webworkRoot/conf", |
| 26 | courses => "$webworkRoot/courses", |
26 | courses => "$webworkRoot/courses", |
| 27 | lib => "$webworkRoot/lib", |
27 | lib => "$webworkRoot/lib", |
| 28 | logs => "$webworkRoot/logs", |
28 | logs => "$webworkRoot/logs", |
|
|
29 | macros => "$pgRoot/macros", |
| 29 | tmp => "$webworkRoot/tmp", |
30 | tmp => "$webworkRoot/tmp", |
| 30 | ); |
31 | ); |
| 31 | |
32 | |
| 32 | %webworkFiles = ( |
33 | %webworkFiles = ( |
| 33 | environment => "$webworkDirs{conf}/global.conf", |
34 | environment => "$webworkDirs{conf}/global.conf", |
| … | |
… | |
| 39 | setDivider => "$webworkDirs{conf}/snippets/hardcopySetDivider.tex", |
40 | setDivider => "$webworkDirs{conf}/snippets/hardcopySetDivider.tex", |
| 40 | userDivider => "$webworkDirs{conf}/snippets/hardcopyUserDivider.tex", |
41 | userDivider => "$webworkDirs{conf}/snippets/hardcopyUserDivider.tex", |
| 41 | postamble => "$webworkDirs{conf}/snippets/hardcopyPostamble.tex", |
42 | postamble => "$webworkDirs{conf}/snippets/hardcopyPostamble.tex", |
| 42 | }, |
43 | }, |
| 43 | screenSnippets => { |
44 | screenSnippets => { |
| 44 | setHeader => "$webworkDirs{conf}/snippets/screenSetHeader.pg", |
45 | setHeader => "$webworkDirs{conf}/snippets/setHeader.pg", |
| 45 | }, |
46 | }, |
| 46 | logs => { |
47 | logs => { |
| 47 | timing => "$webworkDirs{logs}/timing.log", |
48 | timing => "$webworkDirs{logs}/timing.log", |
| 48 | }, |
49 | }, |
| 49 | ); |
50 | ); |
| … | |
… | |
| 70 | html_temp => "$courseRoot/html/tmp", |
71 | html_temp => "$courseRoot/html/tmp", |
| 71 | logs => "$courseRoot/logs", |
72 | logs => "$courseRoot/logs", |
| 72 | scoring => "$courseRoot/scoring", |
73 | scoring => "$courseRoot/scoring", |
| 73 | templates => "$courseRoot/templates", |
74 | templates => "$courseRoot/templates", |
| 74 | macros => "$courseRoot/templates/macros", |
75 | macros => "$courseRoot/templates/macros", |
|
|
76 | email => "$courseRoot/templates/email", |
| 75 | ); |
77 | ); |
| 76 | |
78 | |
| 77 | %courseFiles = ( |
79 | %courseFiles = ( |
| 78 | environment => "$courseDirs{root}/course.conf", |
80 | environment => "$courseDirs{root}/course.conf", |
| 79 | motd => "$courseDirs{root}/motd.txt", |
81 | motd => "$courseDirs{root}/motd.txt", |
| … | |
… | |
| 115 | #], |
117 | #], |
| 116 | # feedbackVerbosity: |
118 | # feedbackVerbosity: |
| 117 | # 0: send only the feedback comment and context link |
119 | # 0: send only the feedback comment and context link |
| 118 | # 1: as in 0, plus user, set, problem, and PG data |
120 | # 1: as in 0, plus user, set, problem, and PG data |
| 119 | # 2: as in 1, plus the problem environment (debugging data) |
121 | # 2: as in 1, plus the problem environment (debugging data) |
| 120 | feedbackVerbosity => 1, |
122 | feedbackVerbosity => 1, |
|
|
123 | editor_window_rows => 15, |
|
|
124 | editor_window_columns => 100, |
| 121 | ); |
125 | ); |
| 122 | |
126 | |
| 123 | %externalPrograms = ( |
127 | %externalPrograms = ( |
| 124 | mkdir => "/bin/mkdir", |
128 | mkdir => "/bin/mkdir", |
| 125 | tth => "/usr/local/bin/tth", |
129 | tth => "/usr/local/bin/tth", |
| … | |
… | |
| 175 | access_instructor_tools => $ta, |
179 | access_instructor_tools => $ta, |
| 176 | create_and_delete_problem_sets => $professor, |
180 | create_and_delete_problem_sets => $professor, |
| 177 | modify_problem_sets => $professor, |
181 | modify_problem_sets => $professor, |
| 178 | assign_problem_sets => $professor, |
182 | assign_problem_sets => $professor, |
| 179 | modify_student_data => $professor, |
183 | modify_student_data => $professor, |
|
|
184 | send_mail => $professor, |
| 180 | ); |
185 | ); |
| 181 | |
186 | |
| 182 | ################################################################################ |
187 | ################################################################################ |
| 183 | # Session options |
188 | # Session options |
| 184 | ################################################################################ |
189 | ################################################################################ |
| … | |
… | |
| 214 | } |
219 | } |
| 215 | }, |
220 | }, |
| 216 | # currently selected renderer |
221 | # currently selected renderer |
| 217 | renderer => "WeBWorK::PG::Local", |
222 | renderer => "WeBWorK::PG::Local", |
| 218 | # directories used by PG |
223 | # directories used by PG |
|
|
224 | # options for various renderers |
|
|
225 | renderers => { |
|
|
226 | "WeBWorK::PG::Remote" => { |
|
|
227 | uri => "http://localhost:8089/RPC2" |
|
|
228 | } |
|
|
229 | }, |
|
|
230 | # currently selected renderer |
|
|
231 | renderer => "WeBWorK::PG::Local", |
|
|
232 | # directories used by PG |
| 219 | directories => { |
233 | directories => { |
|
|
234 | # directories used only by PG |
| 220 | lib => "$pgRoot/lib", |
235 | lib => "$pgRoot/lib", |
| 221 | macros => "$pgRoot/macros", |
236 | macros => "$pgRoot/macros", |
| 222 | }, |
237 | }, |
| 223 | options => { |
238 | options => { |
| 224 | # default translation options |
239 | # default translation options |