| 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.27 2003-06-10 00:52:00 gage Exp $ |
4 | # $Id: global.conf.dist,v 1.28 2003-06-10 16:27:26 malsyned 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. |
| … | |
… | |
| 233 | # to perform the action, >=5 will allow a TA to, and >=0 will allow a |
233 | # to perform the action, >=5 will allow a TA to, and >=0 will allow a |
| 234 | # student to perform an action (almost never what you want). |
234 | # student to perform an action (almost never what you want). |
| 235 | my $ta = 5; |
235 | my $ta = 5; |
| 236 | my $professor = 10; |
236 | my $professor = 10; |
| 237 | %permissionLevels = ( |
237 | %permissionLevels = ( |
| 238 | "become_student" => 10, |
238 | "become_student" => $professor, |
| 239 | "access_instructor_tools" => $ta, |
239 | "access_instructor_tools" => $ta, |
| 240 | "create_and_delete_problem_sets" => $professor, |
240 | "create_and_delete_problem_sets" => $professor, |
| 241 | "modify_problem_sets" => $professor, |
241 | "modify_problem_sets" => $professor, |
| 242 | "assign_problem_sets" => $professor, |
242 | "assign_problem_sets" => $professor, |
| 243 | ); |
243 | ); |
| … | |
… | |
| 282 | PRINT_FILE_NAMES_FOR => ['gage','apizer','voloshin','lr003k','professor'], |
282 | PRINT_FILE_NAMES_FOR => ['gage','apizer','voloshin','lr003k','professor'], |
| 283 | CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", |
283 | CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", |
| 284 | CAPA_MCTools => "$courseDirs{macros}/CAPA_MCTools/", |
284 | CAPA_MCTools => "$courseDirs{macros}/CAPA_MCTools/", |
| 285 | CAPA_Graphics_URL => "$courseDirs{html}/CAPA_Graphics/", |
285 | CAPA_Graphics_URL => "$courseDirs{html}/CAPA_Graphics/", |
| 286 | CAPA_GraphicsDirectory => "$courseDirs{html}CAPA_Graphics/", |
286 | CAPA_GraphicsDirectory => "$courseDirs{html}CAPA_Graphics/", |
| 287 | }, |
287 | }, |
| 288 | # modules lists module names and the packages each contains |
288 | # modules lists module names and the packages each contains |
| 289 | modules => [ |
289 | modules => [ |
| 290 | [qw(DynaLoader)], |
290 | [qw(DynaLoader)], |
| 291 | [qw(Exporter)], |
291 | [qw(Exporter)], |
| 292 | [qw(GD)], |
292 | [qw(GD)], |