Parent Directory
|
Revision Log
Revision 314 - (view) (download)
| 1 : | malsyned | 283 | # WeBWorK global.conf |
| 2 : | |||
| 3 : | sh002i | 314 | # This file is used to set up the default WeBWorK course environment for all |
| 4 : | # requests. Values may be overwritten by the course.conf for a specific course. | ||
| 5 : | # All package variables set in this file are added to the course environment. | ||
| 6 : | # If you wish to set a variable here but omit it from the course environment, | ||
| 7 : | # use the "my" keyword. The following variables are available to this file: | ||
| 8 : | # | ||
| 9 : | # $webworkRoot directory that contains the WeBWorK distribution | ||
| 10 : | # $courseName name of the course being used | ||
| 11 : | sh002i | 311 | |
| 12 : | sh002i | 314 | # this hash defines the locations of directories needed by WeBWorK |
| 13 : | %webworkDirs = ( | ||
| 14 : | root => "$webworkRoot", | ||
| 15 : | conf => "$webworkRoot/conf", | ||
| 16 : | courses => "$webworkRoot/courses", | ||
| 17 : | lib => "$webworkRoot/lib", | ||
| 18 : | ); | ||
| 19 : | sh002i | 311 | |
| 20 : | sh002i | 314 | %webworkFiles = ( |
| 21 : | environment => "$webworkDirs{conf}/global.conf", | ||
| 22 : | malsyned | 283 | ); |
| 23 : | sh002i | 314 | |
| 24 : | # this hash defines the default locations for course subdirectories | ||
| 25 : | my $courseRoot = "$webworkDirs{courses}/$courseName"; # easier! | ||
| 26 : | %courseDirs = ( | ||
| 27 : | root => "$courseRoot", | ||
| 28 : | DATA => "$courseRoot/DATA", | ||
| 29 : | auth_DATA => "$courseRoot/DATA/.auth", | ||
| 30 : | html => "$courseRoot/html", | ||
| 31 : | html_images => "$courseRoot/html/images", | ||
| 32 : | html_temp => "$courseRoot/html/tmp", | ||
| 33 : | logs => "$courseRoot/logs", | ||
| 34 : | scoring => "$courseRoot/scoring", | ||
| 35 : | templates => "$courseRoot/templates", | ||
| 36 : | ); | ||
| 37 : | |||
| 38 : | %courseFiles = ( | ||
| 39 : | environment => "$courseDirs{root}/course.conf", | ||
| 40 : | ); | ||
| 41 : | |||
| 42 : | %dbInfo = ( | ||
| 43 : | auth_type => "GDBM", | ||
| 44 : | auth_passwd_file => "$courseDirs{auth_DATA}/$courseName\_password_DB", | ||
| 45 : | auth_perm_file => "$courseDirs{auth_DATA}/$courseName\_permissions_DB", | ||
| 46 : | auth_keys_file => "$courseDirs{auth_DATA}/keys", | ||
| 47 : | wwdb_type => "DGBM", | ||
| 48 : | wwdb_file => "$courseDirs{DATA}/$courseName\_webwork_DB", | ||
| 49 : | cldb_type => "GDBM", | ||
| 50 : | cldb_file => "$courseDirs{DATA}/$courseName\_classlist_DB", | ||
| 51 : | ); | ||
| 52 : | |||
| 53 : | @arraytest = ( | ||
| 54 : | 'your', | ||
| 55 : | 'mom', | ||
| 56 : | 'is', | ||
| 57 : | 'sexy', | ||
| 58 : | ); |
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |