| 1 | ################################################################################ |
1 | ################################################################################ |
| 2 | # WeBWorK Online Homework Delivery System |
2 | # WeBWorK Online Homework Delivery System |
| 3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
| 4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/PG/Local.pm,v 1.15 2004/10/15 20:33:04 gage Exp $ |
4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/PG/Local.pm,v 1.16 2005/01/01 22:35:00 gage Exp $ |
| 5 | # |
5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify it under |
6 | # This program is free software; you can redistribute it and/or modify it under |
| 7 | # the terms of either: (a) the GNU General Public License as published by the |
7 | # the terms of either: (a) the GNU General Public License as published by the |
| 8 | # Free Software Foundation; either version 2, or (at your option) any later |
8 | # Free Software Foundation; either version 2, or (at your option) any later |
| 9 | # version, or (b) the "Artistic License" which comes with this package. |
9 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 93 | my $translator = WeBWorK::PG::Translator->new; |
93 | my $translator = WeBWorK::PG::Translator->new; |
| 94 | |
94 | |
| 95 | # set the directory hash |
95 | # set the directory hash |
| 96 | #warn "PG: setting the directory hash\n"; |
96 | #warn "PG: setting the directory hash\n"; |
| 97 | $translator->rh_directories({ |
97 | $translator->rh_directories({ |
| 98 | courseScriptsDirectory => $ce->{pg}->{directories}->{macros}, |
|
|
| 99 | macroDirectory => $ce->{courseDirs}->{macros}, |
98 | macrosPath => $ce->{courseDirs}->{macrosPath}, |
| 100 | templateDirectory => $ce->{courseDirs}->{templates}, |
99 | templateDirectory => $ce->{courseDirs}->{templates}, |
| 101 | tempDirectory => $ce->{courseDirs}->{html_temp}, |
100 | tempDirectory => $ce->{courseDirs}->{html_temp}, |
| 102 | }); |
101 | }); |
| 103 | |
102 | |
| 104 | # evaluate modules and "extra packages" |
103 | # evaluate modules and "extra packages" |