| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK Online Homework Delivery System |
3 | # WeBWorK Online Homework Delivery System |
| 4 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
4 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
| 5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.44 2003/12/09 01:12:28 sh002i Exp $ |
5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.45 2004/01/03 20:07:02 sh002i Exp $ |
| 6 | # |
6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify it under |
7 | # This program is free software; you can redistribute it and/or modify it under |
| 8 | # the terms of either: (a) the GNU General Public License as published by the |
8 | # the terms of either: (a) the GNU General Public License as published by the |
| 9 | # Free Software Foundation; either version 2, or (at your option) any later |
9 | # Free Software Foundation; either version 2, or (at your option) any later |
| 10 | # version, or (b) the "Artistic License" which comes with this package. |
10 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 119 | ################################################################################ |
119 | ################################################################################ |
| 120 | # Other site-specific options |
120 | # Other site-specific options |
| 121 | ################################################################################ |
121 | ################################################################################ |
| 122 | |
122 | |
| 123 | %mail = ( |
123 | %mail = ( |
| 124 | smtpServer => "mail.math.rochester.edu", |
124 | smtpServer => "mail.yourdomain.edu", |
| 125 | smtpSender => "webwork\@math.rochester.edu", |
125 | smtpSender => "webwork\@yourdomain.edu", |
| 126 | # allowedRecipients defines addresses that the PG system is allowed to |
126 | # allowedRecipients defines addresses that the PG system is allowed to |
| 127 | # send mail to. this prevents subtle PG exploits. This should be set |
127 | # send mail to. this prevents subtle PG exploits. This should be set |
| 128 | # in course.conf to the addresses of professors of each course. Sending |
128 | # in course.conf to the addresses of professors of each course. Sending |
| 129 | # mail from the PG system (i.e. questionaires, essay questions) will |
129 | # mail from the PG system (i.e. questionaires, essay questions) will |
| 130 | # fail if this is not set somewhere (either here or in course.conf). |
130 | # fail if this is not set somewhere (either here or in course.conf). |
| … | |
… | |
| 151 | %externalPrograms = ( |
151 | %externalPrograms = ( |
| 152 | mkdir => "/bin/mkdir", |
152 | mkdir => "/bin/mkdir", |
| 153 | tth => "/usr/local/bin/tth", |
153 | tth => "/usr/local/bin/tth", |
| 154 | pdflatex => "/usr/local/bin/pdflatex", |
154 | pdflatex => "/usr/local/bin/pdflatex", |
| 155 | latex => "/usr/local/bin/latex", |
155 | latex => "/usr/local/bin/latex", |
| 156 | #dvipng => "/usr/local/bin/dvipng -mode ljfivemp -D600 -Q6 -x1000.5 -bgTransparent", |
|
|
| 157 | dvipng => "/usr/local/bin/dvipng", |
156 | dvipng => "/usr/local/bin/dvipng", |
| 158 | gif2eps => "$webworkDirs{bin}/gif2eps", |
157 | gif2eps => "$webworkDirs{bin}/gif2eps", |
| 159 | png2eps => "$webworkDirs{bin}/png2eps", |
158 | png2eps => "$webworkDirs{bin}/png2eps", |
| 160 | gif2png => "$webworkDirs{bin}/gif2png", |
159 | gif2png => "$webworkDirs{bin}/gif2png", |
| 161 | ); |
160 | ); |
| … | |
… | |
| 257 | # default grader |
256 | # default grader |
| 258 | grader => "avg_problem_grader", |
257 | grader => "avg_problem_grader", |
| 259 | }, |
258 | }, |
| 260 | # this will be customized in the course.conf file |
259 | # this will be customized in the course.conf file |
| 261 | specialPGEnvironmentVars => { |
260 | specialPGEnvironmentVars => { |
| 262 | PRINT_FILE_NAMES_FOR => [ qw(gage apizer voloshin lr003k professor) ], |
261 | PRINT_FILE_NAMES_FOR => [ qw(professor) ], |
| 263 | CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", |
262 | CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", |
| 264 | CAPA_MCTools => "$courseDirs{macros}/CAPA_MCTools/", |
263 | CAPA_MCTools => "$courseDirs{macros}/CAPA_MCTools/", |
| 265 | CAPA_Graphics_URL => "$courseDirs{html}/CAPA_Graphics/", |
264 | CAPA_Graphics_URL => "$courseDirs{html}/CAPA_Graphics/", |
| 266 | CAPA_GraphicsDirectory => "$courseDirs{html}CAPA_Graphics/", |
265 | CAPA_GraphicsDirectory => "$courseDirs{html}CAPA_Graphics/", |
| 267 | }, |
266 | }, |