| 1 | ################################################################################ |
1 | ################################################################################ |
| 2 | # WeBWorK Online Homework Delivery System |
2 | # WeBWorK Online Homework Delivery System |
| 3 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
3 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
| 4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/PG.pm,v 1.63 2006/01/25 23:13:51 sh002i Exp $ |
4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/PG.pm,v 1.64 2006/05/21 00:52:20 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. |
| … | |
… | |
| 129 | $envir{externalLaTeXPath} = $ce->{externalPrograms}->{latex}; |
129 | $envir{externalLaTeXPath} = $ce->{externalPrograms}->{latex}; |
| 130 | $envir{externalDvipngPath} = $ce->{externalPrograms}->{dvipng}; |
130 | $envir{externalDvipngPath} = $ce->{externalPrograms}->{dvipng}; |
| 131 | $envir{externalGif2EpsPath} = $ce->{externalPrograms}->{gif2eps}; |
131 | $envir{externalGif2EpsPath} = $ce->{externalPrograms}->{gif2eps}; |
| 132 | $envir{externalPng2EpsPath} = $ce->{externalPrograms}->{png2eps}; |
132 | $envir{externalPng2EpsPath} = $ce->{externalPrograms}->{png2eps}; |
| 133 | $envir{externalGif2PngPath} = $ce->{externalPrograms}->{gif2png}; |
133 | $envir{externalGif2PngPath} = $ce->{externalPrograms}->{gif2png}; |
| 134 | |
134 | $envir{externalCheckUrl} = $ce->{externalPrograms}->{checkurl}; |
| 135 | # Directories and URLs |
135 | # Directories and URLs |
| 136 | # REMOVED: courseName |
136 | # REMOVED: courseName |
| 137 | # ADDED: dvipngTempDir |
137 | # ADDED: dvipngTempDir |
| 138 | # ADDED: jsMathURL |
138 | # ADDED: jsMathURL |
| 139 | # ADDED: asciimathURL |
139 | # ADDED: asciimathURL |
| … | |
… | |
| 142 | |
142 | |
| 143 | $envir{cgiDirectory} = undef; |
143 | $envir{cgiDirectory} = undef; |
| 144 | $envir{cgiURL} = undef; |
144 | $envir{cgiURL} = undef; |
| 145 | $envir{classDirectory} = undef; |
145 | $envir{classDirectory} = undef; |
| 146 | $envir{macrosPath} = $ce->{pg}->{directories}{macrosPath}; |
146 | $envir{macrosPath} = $ce->{pg}->{directories}{macrosPath}; |
| 147 | $envir{appletDirs} = $ce->{pg}->{directories}{appletDirs}; |
147 | $envir{appletPath} = $ce->{pg}->{directories}{appletPath}; |
|
|
148 | $envir{pgDirectories} = $ce->{pg}->{directories}; |
| 148 | $envir{htmlDirectory} = $ce->{courseDirs}->{html}."/"; |
149 | $envir{htmlDirectory} = $ce->{courseDirs}->{html}."/"; |
| 149 | $envir{htmlURL} = $ce->{courseURLs}->{html}."/"; |
150 | $envir{htmlURL} = $ce->{courseURLs}->{html}."/"; |
| 150 | $envir{templateDirectory} = $ce->{courseDirs}->{templates}."/"; |
151 | $envir{templateDirectory} = $ce->{courseDirs}->{templates}."/"; |
| 151 | $envir{tempDirectory} = $ce->{courseDirs}->{html_temp}."/"; |
152 | $envir{tempDirectory} = $ce->{courseDirs}->{html_temp}."/"; |
| 152 | $envir{tempURL} = $ce->{courseURLs}->{html_temp}."/"; |
153 | $envir{tempURL} = $ce->{courseURLs}->{html_temp}."/"; |