[system] / trunk / webwork / system / lib / Global.pm Repository:
ViewVC logotype

Diff of /trunk/webwork/system/lib/Global.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 83 Revision 89
26 26
27################################ 27################################
28# Local configuration settings # 28# Local configuration settings #
29################################ 29################################
30 30
31# $legalAddress defines addresses which are accepted for use in scripts that send mail. 31# $legalAddress defines destination addresses which are accepted for use in
32# it is a perl regular expression. 32# scripts that send mail. it is a perl regular expression.
33$legalAddress = '^[\w\-\.]+(\@([\w\-\.]+\.)*rochester\.edu)?$'; # destinations must match 33$legalAddress = '^[\w\-\.]+(\@([\w\-\.]+\.)*rochester\.edu)?$';
34 34
35# these define the default addresses to which will be used by the system. 35# these define the default addresses to which will be used by the system.
36$feedbackAddress = 'webwork@math.rochester.edu'; 36$feedbackAddress = 'webwork@math.rochester.edu';
37$webmaster = $feedbackAddress; 37$webmaster = $feedbackAddress;
38$defaultfrom = $feedbackAddress; 38$defaultfrom = $feedbackAddress;
44 44
45# $dirDelim is the delimiter used in pathnames on your system. 45# $dirDelim is the delimiter used in pathnames on your system.
46$dirDelim = '/'; 46$dirDelim = '/';
47 47
48# $cgiDebugMode, if enabled, will call the debug wrapper scripts instead of the 48# $cgiDebugMode, if enabled, will call the debug wrapper scripts instead of the
49# cgi scripts themselves, allowing for header output, etc. 49# cgi scripts themselves, allowing for header output, etc. In addition to
50# setting $cgiDebugMode =1, you will also need to enable debugging in the
51# wrapper scripts that you wish to debug, by setting $debug = 1. Wrapper
52# scripts are found in the directory referred to by $cgiWebworkURL, which is
53# usually webwork/system/cgi.
50$cgiDebugMode = 0; 54$cgiDebugMode = 0;
51 55
52## Change DBtie_file only if you want to change the default database. The script 56## Change DBtie_file only if you want to change the default database. The script
53## db_tie.pl uses DB_File (the Berkeley DB) and gdbm_tie.pl uses GDBM_File. This 57## db_tie.pl uses DB_File (the Berkeley DB) and gdbm_tie.pl uses GDBM_File. This
54## setting can be changed for an individual course in the webworkCourse.ph file. For 58## setting can be changed for an individual course in the webworkCourse.ph file. For

Legend:
Removed from v.83  
changed lines
  Added in v.89

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9