| 1 | ################################################################################ |
1 | ################################################################################ |
| 2 | # WeBWorK Online Homework Delivery System |
2 | # WeBWorK Online Homework Delivery System |
| 3 | # Copyright © 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/ |
3 | # Copyright © 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/ |
| 4 | # $CVSHeader: webwork2/lib/WeBWorK/PG.pm,v 1.72.2.1 2007/08/13 22:53:44 sh002i Exp $ |
4 | # $CVSHeader: webwork2/lib/WeBWorK/PG.pm,v 1.72.2.1.2.1 2008/06/24 16:07:50 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. |
| … | |
… | |
| 149 | $envir{cgiURL} = undef; |
149 | $envir{cgiURL} = undef; |
| 150 | $envir{classDirectory} = undef; |
150 | $envir{classDirectory} = undef; |
| 151 | $envir{macrosPath} = $ce->{pg}->{directories}{macrosPath}; |
151 | $envir{macrosPath} = $ce->{pg}->{directories}{macrosPath}; |
| 152 | $envir{appletPath} = $ce->{pg}->{directories}{appletPath}; |
152 | $envir{appletPath} = $ce->{pg}->{directories}{appletPath}; |
| 153 | $envir{pgDirectories} = $ce->{pg}->{directories}; |
153 | $envir{pgDirectories} = $ce->{pg}->{directories}; |
|
|
154 | $envir{webworkHtmlDirectory} = $ce->{webworkDirs}->{htdocs}."/"; |
|
|
155 | $envir{webworkHtmlURL} = $ce->{webworkURLs}->{htdocs}."/"; |
| 154 | $envir{htmlDirectory} = $ce->{courseDirs}->{html}."/"; |
156 | $envir{htmlDirectory} = $ce->{courseDirs}->{html}."/"; |
| 155 | $envir{htmlURL} = $ce->{courseURLs}->{html}."/"; |
157 | $envir{htmlURL} = $ce->{courseURLs}->{html}."/"; |
| 156 | $envir{templateDirectory} = $ce->{courseDirs}->{templates}."/"; |
158 | $envir{templateDirectory} = $ce->{courseDirs}->{templates}."/"; |
| 157 | $envir{tempDirectory} = $ce->{courseDirs}->{html_temp}."/"; |
159 | $envir{tempDirectory} = $ce->{courseDirs}->{html_temp}."/"; |
| 158 | $envir{tempURL} = $ce->{courseURLs}->{html_temp}."/"; |
160 | $envir{tempURL} = $ce->{courseURLs}->{html_temp}."/"; |