| 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.116 2005/01/28 21:24:18 sh002i Exp $ |
5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.117 2005/04/09 15:36:26 gage 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. |
| … | |
… | |
| 609 | |
609 | |
| 610 | # The root of the PG directory tree (from pg_root in Apache config). |
610 | # The root of the PG directory tree (from pg_root in Apache config). |
| 611 | $pg{directories}{root} = "$pg_dir"; |
611 | $pg{directories}{root} = "$pg_dir"; |
| 612 | $pg{directories}{lib} = "$pg{directories}{root}/lib"; |
612 | $pg{directories}{lib} = "$pg{directories}{root}/lib"; |
| 613 | $pg{directories}{macros} = "$pg{directories}{root}/macros"; |
613 | $pg{directories}{macros} = "$pg{directories}{root}/macros"; |
|
|
614 | |
|
|
615 | # |
|
|
616 | # The macro file search path. Each directory in this list is seached |
|
|
617 | # (in this order) by loadMacros() when it looks for a .pl file. |
|
|
618 | # |
|
|
619 | $pg{directories}{macrosPath} = [ |
|
|
620 | ".", # search the problem file's directory |
|
|
621 | $courseDirs{macros}, |
|
|
622 | $pg{directories}{macros}, |
|
|
623 | ]; |
| 614 | |
624 | |
| 615 | ##### "Special" PG environment variables. (Stuff that doesn't fit in anywhere else.) |
625 | ##### "Special" PG environment variables. (Stuff that doesn't fit in anywhere else.) |
| 616 | |
626 | |
| 617 | # Users for whom to print the file name of the PG file being processed. |
627 | # Users for whom to print the file name of the PG file being processed. |
| 618 | $pg{specialPGEnvironmentVars}{PRINT_FILE_NAMES_FOR} = [ "professor", ]; |
628 | $pg{specialPGEnvironmentVars}{PRINT_FILE_NAMES_FOR} = [ "professor", ]; |