| 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.33 2003-06-18 23:04:51 malsyned Exp $ |
4 | # $Id: global.conf.dist,v 1.34 2003-06-20 23:08:39 sh002i 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", |
|
|
| 30 | tmp => "$webworkRoot/tmp", |
29 | tmp => "$webworkRoot/tmp", |
| 31 | ); |
30 | ); |
| 32 | |
31 | |
| 33 | %webworkFiles = ( |
32 | %webworkFiles = ( |
| 34 | environment => "$webworkDirs{conf}/global.conf", |
33 | environment => "$webworkDirs{conf}/global.conf", |
| … | |
… | |
| 206 | ################################################################################ |
205 | ################################################################################ |
| 207 | # PG translation options |
206 | # PG translation options |
| 208 | ################################################################################ |
207 | ################################################################################ |
| 209 | |
208 | |
| 210 | %pg = ( |
209 | %pg = ( |
|
|
210 | # options for various renderers |
|
|
211 | renderers => { |
|
|
212 | "WeBWorK::PG::Remote" => { |
|
|
213 | uri => "http://localhost:8089/RPC2" |
|
|
214 | } |
|
|
215 | }, |
|
|
216 | # currently selected renderer |
|
|
217 | renderer => "WeBWorK::PG", |
|
|
218 | # directories used by PG |
| 211 | directories => { |
219 | directories => { |
| 212 | # directories used only by PG |
|
|
| 213 | lib => "$pgRoot/lib", |
220 | lib => "$pgRoot/lib", |
| 214 | macros => "$pgRoot/macros", |
221 | macros => "$pgRoot/macros", |
| 215 | }, # (not used yet) |
222 | }, |
| 216 | options => { |
223 | options => { |
| 217 | # default translation options |
224 | # default translation options |
| 218 | displayMode => "images", |
225 | displayMode => "images", |
| 219 | showOldAnswers => 1, |
226 | showOldAnswers => 1, |
| 220 | showCorrectAnswers => 0, |
227 | showCorrectAnswers => 0, |
| … | |
… | |
| 224 | # default grader |
231 | # default grader |
| 225 | grader => "avg_problem_grader", |
232 | grader => "avg_problem_grader", |
| 226 | }, |
233 | }, |
| 227 | # this will be customized in the course.conf file |
234 | # this will be customized in the course.conf file |
| 228 | specialPGEnvironmentVars => { |
235 | specialPGEnvironmentVars => { |
| 229 | PRINT_FILE_NAMES_FOR => ['gage','apizer','voloshin','lr003k','professor'], |
236 | PRINT_FILE_NAMES_FOR => qw(gage apizer voloshin lr003k professor), |
| 230 | CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", |
237 | CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", |
| 231 | CAPA_MCTools => "$courseDirs{macros}/CAPA_MCTools/", |
238 | CAPA_MCTools => "$courseDirs{macros}/CAPA_MCTools/", |
| 232 | CAPA_Graphics_URL => "$courseDirs{html}/CAPA_Graphics/", |
239 | CAPA_Graphics_URL => "$courseDirs{html}/CAPA_Graphics/", |
| 233 | CAPA_GraphicsDirectory => "$courseDirs{html}CAPA_Graphics/", |
240 | CAPA_GraphicsDirectory => "$courseDirs{html}CAPA_Graphics/", |
| 234 | }, |
241 | }, |
| 235 | # modules lists module names and the packages each contains |
242 | # modules lists module names and the packages each contains |
| 236 | modules => [ |
243 | modules => [ |
| 237 | [qw(DynaLoader)], |
244 | [qw(DynaLoader)], |
| 238 | [qw(Exporter)], |
245 | [qw(Exporter)], |