| 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,v 1.27 2002-09-20 22:47:21 sh002i Exp $ |
4 | # $Id: global.conf,v 1.28 2002-09-27 23:53:40 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. |
| … | |
… | |
| 19 | root => "$webworkRoot", |
19 | root => "$webworkRoot", |
| 20 | bin => "$webworkRoot/bin", |
20 | bin => "$webworkRoot/bin", |
| 21 | conf => "$webworkRoot/conf", |
21 | conf => "$webworkRoot/conf", |
| 22 | courses => "/ww/webwork/courses", #"$webworkRoot/courses", # *** |
22 | courses => "/ww/webwork/courses", #"$webworkRoot/courses", # *** |
| 23 | lib => "$webworkRoot/lib", |
23 | lib => "$webworkRoot/lib", |
| 24 | log => "$webworkRoot/log", |
24 | logs => "$webworkRoot/logs", |
| 25 | macros => "$webworkRoot/macros", |
25 | macros => "$webworkRoot/macros", |
| 26 | tmp => "$webworkRoot/tmp", |
26 | tmp => "$webworkRoot/tmp", |
| 27 | ); |
27 | ); |
| 28 | |
28 | |
| 29 | my $courseRoot = "$webworkDirs{courses}/$courseName"; |
29 | my $courseRoot = "$webworkDirs{courses}/$courseName"; |
| … | |
… | |
| 52 | }, |
52 | }, |
| 53 | screenSnippets => { |
53 | screenSnippets => { |
| 54 | setHeader => "$webworkDirs{conf}/screenSetHeader.pg", |
54 | setHeader => "$webworkDirs{conf}/screenSetHeader.pg", |
| 55 | }, |
55 | }, |
| 56 | logs => { |
56 | logs => { |
| 57 | timing => "$webworkDirs{log}/timing.log", |
57 | timing => "$webworkDirs{logs}/timing.log", |
| 58 | transaction => "$webworkDirs{logs}/transaction.log", |
58 | #transaction => "$courseDirs{logs}/transaction.log", |
| 59 | }, |
59 | }, |
| 60 | ); |
60 | ); |
| 61 | |
61 | |
| 62 | %courseFiles = ( |
62 | %courseFiles = ( |
| 63 | environment => "$courseDirs{root}/course.conf", |
63 | environment => "$courseDirs{root}/course.conf", |
| … | |
… | |
| 176 | ); |
176 | ); |
| 177 | |
177 | |
| 178 | %externalPrograms = ( |
178 | %externalPrograms = ( |
| 179 | mv => "/bin/mv", |
179 | mv => "/bin/mv", |
| 180 | tth => "/usr/local/bin/tth", |
180 | tth => "/usr/local/bin/tth", |
| 181 | math2img => "$webworkDirs{bin}/math2img", |
|
|
| 182 | pdflatex => "/usr/local/bin/pdflatex", |
181 | pdflatex => "/usr/local/bin/pdflatex", |
| 183 | latex => "/usr/local/bin/latex", |
182 | latex => "/usr/local/bin/latex", |
| 184 | dvipng => "/usr/local/bin/dvipng -mode ljfivemp -D600 -Q6 -x1000.5 -bgTransparent", |
183 | dvipng => "/usr/local/bin/dvipng -mode ljfivemp -D600 -Q6 -x1000.5 -bgTransparent", |
|
|
184 | gif2eps => "$webworkDirs{bin}/gif2eps", |
|
|
185 | png2eps => "$webworkDirs{bin}/png2eps", |
| 185 | ); |
186 | ); |