| … | |
… | |
| 407 | # |
407 | # |
| 408 | # Copyright (c) 1995-2001 WeBWorK Team, University of Rochester |
408 | # Copyright (c) 1995-2001 WeBWorK Team, University of Rochester |
| 409 | # All rights reserved |
409 | # All rights reserved |
| 410 | ################################################################################ |
410 | ################################################################################ |
| 411 | |
411 | |
|
|
412 | # $cgiDebugMode, if enabled, will call the debug wrapper scripts instead of the |
|
|
413 | # cgi scripts themselves, allowing for header output, etc. In addition to |
|
|
414 | # setting $cgiDebugMode =1, you will also need to enable debugging in the |
|
|
415 | # wrapper scripts that you wish to debug, by setting $debug = 1. Wrapper |
|
|
416 | # scripts are found in the directory referred to by $cgiWebworkURL, which is |
|
|
417 | # usually webwork/system/cgi. |
|
|
418 | \$cgiDebugMode = 0; |
|
|
419 | |
| 412 | \$mainDirectory = "$mainDir"; |
420 | \$mainDirectory = "$mainDir"; |
| 413 | \$htmlWebworkURL = "$htmlURL"; |
421 | \$htmlWebworkURL = "$htmlURL"; |
| 414 | \$cgiWebworkURL = "$cgiURL"; |
422 | \$cgiWebworkURL = "$cgiURL"; |
| 415 | \$cgiWebworkURL .= "cgi-scripts/" unless \$cgiDebugMode; |
423 | \$cgiWebworkURL .= "cgi-scripts/" unless \$cgiDebugMode; |
| 416 | |
424 | |