| 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.pm,v 1.58 2004/09/13 19:29:55 sh002i Exp $ |
4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/PG.pm,v 1.59 2004/11/03 22:00:10 dpvc 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. |
| … | |
… | |
| 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 |
|
|
140 | # ADDED: macrosPath |
|
|
141 | # REMOVED: macrosDirectory, courseScriptsDirectory |
| 140 | |
142 | |
| 141 | $envir{cgiDirectory} = undef; |
143 | $envir{cgiDirectory} = undef; |
| 142 | $envir{cgiURL} = undef; |
144 | $envir{cgiURL} = undef; |
| 143 | $envir{classDirectory} = undef; |
145 | $envir{classDirectory} = undef; |
| 144 | $envir{courseScriptsDirectory} = $ce->{pg}->{directories}->{macros}."/"; |
146 | $envir{macrosPath} = $ce->{pg}->{directories}{macrosPath}; |
| 145 | $envir{htmlDirectory} = $ce->{courseDirs}->{html}."/"; |
147 | $envir{htmlDirectory} = $ce->{courseDirs}->{html}."/"; |
| 146 | $envir{htmlURL} = $ce->{courseURLs}->{html}."/"; |
148 | $envir{htmlURL} = $ce->{courseURLs}->{html}."/"; |
| 147 | $envir{macroDirectory} = $ce->{courseDirs}->{macros}."/"; |
|
|
| 148 | $envir{templateDirectory} = $ce->{courseDirs}->{templates}."/"; |
149 | $envir{templateDirectory} = $ce->{courseDirs}->{templates}."/"; |
| 149 | $envir{tempDirectory} = $ce->{courseDirs}->{html_temp}."/"; |
150 | $envir{tempDirectory} = $ce->{courseDirs}->{html_temp}."/"; |
| 150 | $envir{tempURL} = $ce->{courseURLs}->{html_temp}."/"; |
151 | $envir{tempURL} = $ce->{courseURLs}->{html_temp}."/"; |
| 151 | $envir{scriptDirectory} = undef; |
152 | $envir{scriptDirectory} = undef; |
| 152 | $envir{webworkDocsURL} = $ce->{webworkURLs}->{docs}."/"; |
153 | $envir{webworkDocsURL} = $ce->{webworkURLs}->{docs}."/"; |
| 153 | $envir{localHelpURL} = $ce->{webworkURLs}->{local_help}."/"; |
154 | $envir{localHelpURL} = $ce->{webworkURLs}->{local_help}."/"; |
| 154 | $envir{jsMathURL} = $ce->{webworkURLs}->{jsMath}; |
155 | $envir{jsMathURL} = $ce->{webworkURLs}->{jsMath}; |
| 155 | $envir{asciimathURL} = $ce->{webworkURLs}->{asciimath}; |
156 | $envir{asciimathURL} = $ce->{webworkURLs}->{asciimath}; |
| 156 | |
157 | |
| 157 | # Information for sending mail |
158 | # Information for sending mail |
| 158 | |
159 | |
| 159 | $envir{mailSmtpServer} = $ce->{mail}->{smtpServer}; |
160 | $envir{mailSmtpServer} = $ce->{mail}->{smtpServer}; |