| 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.20 2003-06-05 11:48:23 gage Exp $ |
4 | # $Id: global.conf.dist,v 1.21 2003-06-05 20:48: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. |
| … | |
… | |
| 42 | screenSnippets => { |
42 | screenSnippets => { |
| 43 | setHeader => "$webworkDirs{conf}/screenSetHeader.pg", |
43 | setHeader => "$webworkDirs{conf}/screenSetHeader.pg", |
| 44 | }, |
44 | }, |
| 45 | logs => { |
45 | logs => { |
| 46 | timing => "$webworkDirs{logs}/timing.log", |
46 | timing => "$webworkDirs{logs}/timing.log", |
| 47 | transaction => "$courseDirs{logs}/transaction.log", |
|
|
| 48 | pastAnswerList => "$courseDirs{logs}/past_answers.log", |
|
|
| 49 | }, |
47 | }, |
| 50 | ); |
48 | ); |
| 51 | |
49 | |
| 52 | %webworkURLs = ( |
50 | %webworkURLs = ( |
| 53 | root => "$webworkURLRoot", |
51 | root => "$webworkURLRoot", |
| … | |
… | |
| 79 | environment => "$courseDirs{root}/course.conf", |
77 | environment => "$courseDirs{root}/course.conf", |
| 80 | motd => "$courseDirs{root}/motd.txt", |
78 | motd => "$courseDirs{root}/motd.txt", |
| 81 | ); |
79 | ); |
| 82 | |
80 | |
| 83 | # quick hack to fix transaction logging. blah. |
81 | # quick hack to fix transaction logging. blah. |
| 84 | $webworkFiles{logs}->{transaction} = "$courseDirs{logs}/transaction.log"; |
82 | $webworkFiles{logs}->{transaction} = "$courseDirs{logs}/transaction.log"; |
| 85 | $webworkFiles{logs}->{pastAnswerList} = "$courseDirs{logs}/past_answers.log"; |
83 | $webworkFiles{logs}->{pastAnswerList} = "$courseDirs{logs}/past_answers.log"; |
| 86 | |
84 | |
| 87 | my $courseURLRoot = "$webworkURLs{htdocs}/courses/$courseName"; |
85 | my $courseURLRoot = "$webworkURLs{htdocs}/courses/$courseName"; |
| 88 | %courseURLs = ( |
86 | %courseURLs = ( |
| 89 | root => "$courseURLRoot", |
87 | root => "$courseURLRoot", |
| 90 | html => "$courseURLRoot", |
88 | html => "$courseURLRoot", |