| 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: webwork2/conf/global.conf.dist,v 1.91 2004/07/13 04:24:37 sh002i Exp $ |
5 | # $CVSHeader: webwork2/conf/global.conf.dist,v 1.98 2004/08/27 21:13:22 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. |
| … | |
… | |
| 25 | |
25 | |
| 26 | ################################################################################ |
26 | ################################################################################ |
| 27 | # Seed variables |
27 | # Seed variables |
| 28 | ################################################################################ |
28 | ################################################################################ |
| 29 | |
29 | |
| 30 | # Set these variables to correspond to your configuration and preferences. |
30 | # Set these variables to correspond to your configuration and preferences. You |
|
|
31 | # will need to restart the webserver to reset the variables in this section |
| 31 | |
32 | |
| 32 | # URL of WeBWorK handler. |
33 | # URL of WeBWorK handler. |
| 33 | $webwork_url = "/webwork2"; |
34 | $webwork_url = "/webwork2"; |
| 34 | |
35 | |
| 35 | # Root directory of PG. |
36 | # Root directory of PG. |
| 36 | $pg_dir = "/home/sh002i/work/pg"; |
37 | $pg_dir = "/opt/pg"; |
| 37 | |
38 | |
| 38 | # URL and path to htdocs directory. |
39 | # URL and path to htdocs directory. |
| 39 | $webwork_htdocs_url = "/webwork2_files"; |
40 | $webwork_htdocs_url = "/webwork2_files"; |
| 40 | $webwork_htdocs_dir = "$webwork_dir/htdocs"; |
41 | $webwork_htdocs_dir = "$webwork_dir/htdocs"; |
| 41 | |
42 | |
| … | |
… | |
| 81 | |
82 | |
| 82 | # If defined, feedbackRecipients overrides the list of recipients for feedback |
83 | # If defined, feedbackRecipients overrides the list of recipients for feedback |
| 83 | # email. It's appropriate to set this in the course.conf for specific courses, |
84 | # email. It's appropriate to set this in the course.conf for specific courses, |
| 84 | # but probably not in global.conf. if not defined, mail is sent to all |
85 | # but probably not in global.conf. if not defined, mail is sent to all |
| 85 | # professors and TAs for a given course |
86 | # professors and TAs for a given course |
| 86 | $mail{feedbackRecipients} = [ |
87 | #$mail{feedbackRecipients} = [ |
| 87 | #'prof1@yourserver.yourdomain.edu', |
88 | # 'prof1@yourserver.yourdomain.edu', |
| 88 | #'prof2@yourserver.yourdomain.edu', |
89 | # 'prof2@yourserver.yourdomain.edu', |
| 89 | ]; |
90 | #]; |
| 90 | |
91 | |
| 91 | # feedbackVerbosity: |
92 | # feedbackVerbosity: |
| 92 | # 0: send only the feedback comment and context link |
93 | # 0: send only the feedback comment and context link |
| 93 | # 1: as in 0, plus user, set, problem, and PG data |
94 | # 1: as in 0, plus user, set, problem, and PG data |
| 94 | # 2: as in 1, plus the problem environment (debugging data) |
95 | # 2: as in 1, plus the problem environment (debugging data) |
| … | |
… | |
| 157 | # Note that both systems must share a single "courses" directory for this to be |
158 | # Note that both systems must share a single "courses" directory for this to be |
| 158 | # useful. Leave this blank to disable |
159 | # useful. Leave this blank to disable |
| 159 | $webworkURLs{oldProf} = "/webwork1/profLogin.pl"; |
160 | $webworkURLs{oldProf} = "/webwork1/profLogin.pl"; |
| 160 | |
161 | |
| 161 | # URL of WeBWorK Bugzilla database. |
162 | # URL of WeBWorK Bugzilla database. |
| 162 | $webworkURLs{bugReporter} = "http://bugs.webwork.rochester.edu/enter_bug.cgi?product=WeBWorK%20mod_perl"; |
163 | $webworkURLs{bugReporter} = "http://bugs.webwork.rochester.edu/"; |
| 163 | |
164 | |
| 164 | # Location of jsMath script, used for the jsMath display mode. |
165 | # Location of jsMath script, used for the jsMath display mode. |
| 165 | $webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath.js"; |
166 | $webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath.js"; |
| 166 | |
167 | |
| 167 | # Location of ASCIIMathML script, used for the asciimath display mode. |
168 | # Location of ASCIIMathML script, used for the asciimath display mode. |
| … | |
… | |
| 275 | # example, |
276 | # example, |
| 276 | # |
277 | # |
| 277 | # $courseFiles{problibs} = {rochester => "Rochester", asu => "ASU"}; |
278 | # $courseFiles{problibs} = {rochester => "Rochester", asu => "ASU"}; |
| 278 | # |
279 | # |
| 279 | # would add two buttons, one for the Rochester library and one for the ASU |
280 | # would add two buttons, one for the Rochester library and one for the ASU |
| 280 | # library, provided templates/rochester and templates/asu exists. |
281 | # library, provided templates/rochester and templates/asu exists either as |
|
|
282 | # subdirectories or links to other directories. |
| 281 | # |
283 | # |
| 282 | $courseFiles{problibs} = {}; |
284 | $courseFiles{problibs} = { |
|
|
285 | # rochesterLibrary => "Rochester", |
|
|
286 | # asuLibrary => "Arizona State", |
|
|
287 | # dcdsLibrary => "Detroit CDS", |
|
|
288 | # dartmouthLibrary => "Dartmouth", |
|
|
289 | # indianaLibrary => "Indiana", |
|
|
290 | # osuLibrary => "Ohio State", |
|
|
291 | }; |
| 283 | |
292 | |
| 284 | ################################################################################ |
293 | ################################################################################ |
| 285 | # Database options |
294 | # Database options |
| 286 | ################################################################################ |
295 | ################################################################################ |
| 287 | |
296 | |
| … | |
… | |
| 290 | include "conf/database.conf"; |
299 | include "conf/database.conf"; |
| 291 | |
300 | |
| 292 | # Select the default database layout. This can be overridden in the course.conf |
301 | # Select the default database layout. This can be overridden in the course.conf |
| 293 | # file of a particular course. If you choose "gdbm", WeBWorK will be able to |
302 | # file of a particular course. If you choose "gdbm", WeBWorK will be able to |
| 294 | # use courses from WeBWorK 1 without first adding course.conf files to them. |
303 | # use courses from WeBWorK 1 without first adding course.conf files to them. |
| 295 | # However, the recommended database layout for new courses is "sql". This can |
304 | # However, the recommended database layout for new courses is "sql_single". This |
| 296 | # be set when creating a course. |
305 | # can be set when creating a course. |
| 297 | $dbLayoutName = "sql"; # or "gdbm"; |
306 | $dbLayoutName = "sql_single"; # or "gdbm" or "sql" |
| 298 | |
307 | |
| 299 | # This sets the symbol "dbLayout" as an alias for the selected database layout. |
308 | # This sets the symbol "dbLayout" as an alias for the selected database layout. |
| 300 | *dbLayout = $dbLayouts{$dbLayoutName}; |
309 | *dbLayout = $dbLayouts{$dbLayoutName}; |
| 301 | |
310 | |
| 302 | ################################################################################ |
311 | ################################################################################ |
| … | |
… | |
| 587 | [qw(PGrandom)], |
596 | [qw(PGrandom)], |
| 588 | [qw(Regression)], |
597 | [qw(Regression)], |
| 589 | [qw(Select)], |
598 | [qw(Select)], |
| 590 | [qw(Units)], |
599 | [qw(Units)], |
| 591 | [qw(VectorField)], |
600 | [qw(VectorField)], |
|
|
601 | [qw(Parser Value)], |
| 592 | ]; |
602 | ]; |
| 593 | |
603 | |
| 594 | ##### Answer evaluatior defaults |
604 | ##### Answer evaluatior defaults |
| 595 | |
605 | |
| 596 | $pg{ansEvalDefaults} = { |
606 | $pg{ansEvalDefaults} = { |