| … | |
… | |
| 107 | |
107 | |
| 108 | ################################### |
108 | ################################### |
| 109 | ## Begin Global |
109 | ## Begin Global |
| 110 | ################################### |
110 | ################################### |
| 111 | package Global; |
111 | package Global; |
|
|
112 | use webworkConfig; |
| 112 | |
113 | |
| 113 | #use CGI::Carp ; #qw( fatalsToBrowser carp croak); |
114 | #use CGI::Carp ; #qw( fatalsToBrowser carp croak); |
| 114 | use PGtranslator; # this is so that PGtranslator->evalute_macros is available when webworkCourse.ph is processed. |
115 | use PGtranslator; # this is so that PGtranslator->evalute_macros is available when webworkCourse.ph is processed. |
| 115 | |
116 | |
| 116 | ## $Id$ |
117 | ## $Id$ |
| … | |
… | |
| 181 | ### URL's and directory defined by the setup script system_webwork_setup.pl |
182 | ### URL's and directory defined by the setup script system_webwork_setup.pl |
| 182 | |
183 | |
| 183 | # for debugging uncomment the "WeBWorKCGIDebugURL" line, |
184 | # for debugging uncomment the "WeBWorKCGIDebugURL" line, |
| 184 | # comment out the "WeBWorKCGINoDebugURL" line, and edit |
185 | # comment out the "WeBWorKCGINoDebugURL" line, and edit |
| 185 | # the wrapper scripts in the directory $cgiWebworkURL. |
186 | # the wrapper scripts in the directory $cgiWebworkURL. |
| 186 | $cgiWebworkURL = '/cgi-bin/gage_system/cgi-scripts/'; #WeBWorKCGINoDebugURL |
187 | #$cgiWebworkURL = '/cgi-bin/gage_system/cgi-scripts/'; #WeBWorKCGINoDebugURL |
| 187 | #$cgiWebworkURL = '/cgi-bin/gage_system/'; #WeBWorKCGIDebugURL |
188 | #$cgiWebworkURL = '/cgi-bin/gage_system/'; #WeBWorKCGIDebugURL |
| 188 | # in order for system_webwork_setup.pl to set the above URLs |
189 | # in order for system_webwork_setup.pl to set the above URLs |
| 189 | # correctly, the comment tags must remain at the ends of |
190 | # correctly, the comment tags must remain at the ends of |
| 190 | # these lines. |
191 | # these lines. |
| 191 | |
192 | # |
| 192 | $htmlWebworkURL = '/webwork_system_html/'; |
193 | #$htmlWebworkURL = '/webwork_system_html/'; |
| 193 | $mainDirectory = '/ww/webwork/gage_system/webwork/system/'; |
194 | #$mainDirectory = '/u/gage/webwork/system/'; |
| 194 | |
195 | |
| 195 | |
196 | |
| 196 | ## URL's derived from above |
197 | ## URL's derived from above |
| 197 | $loginURL = "${cgiWebworkURL}login.pl"; |
198 | $loginURL = "${cgiWebworkURL}login.pl"; |
| 198 | $imagesURL = "${htmlWebworkURL}images/"; |
199 | $imagesURL = "${htmlWebworkURL}images/"; |