Parent Directory
|
Revision Log
fixed some typos
1 ################################################################################ 2 # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester 3 # $Id: global.conf,v 1.10 2002-06-07 22:12:31 sh002i Exp $ 4 ################################################################################ 5 6 # This file is used to set up the default WeBWorK course environment for all 7 # requests. Values may be overwritten by the course.conf for a specific course. 8 # All package variables set in this file are added to the course environment. 9 # If you wish to set a variable here but omit it from the course environment, 10 # use the "my" keyword. The following variables are available to this file: 11 # 12 # $webworkRoot directory that contains the WeBWorK distribution 13 # $courseName name of the course being used 14 15 # this hash defines the locations of directories needed by WeBWorK 16 %webworkDirs = ( 17 root => "$webworkRoot", 18 conf => "$webworkRoot/conf", 19 courses => "$webworkRoot/courses", 20 lib => "$webworkRoot/lib", 21 ); 22 23 # this hash defines the locations of files needed by WeBWorK 24 %webworkFiles = ( 25 environment => "$webworkDirs{conf}/global.conf", 26 ); 27 28 # this hash defines the default locations for course subdirectories 29 my $courseRoot = "$webworkDirs{courses}/$courseName"; # easier! 30 %courseDirs = ( 31 root => "$courseRoot", 32 DATA => "$courseRoot/DATA", 33 auth_DATA => "$courseRoot/DATA/.auth", 34 html => "$courseRoot/html", 35 html_images => "$courseRoot/html/images", 36 html_temp => "$courseRoot/html/tmp", 37 logs => "$courseRoot/logs", 38 scoring => "$courseRoot/scoring", 39 templates => "$courseRoot/templates", 40 ); 41 42 # this hash defines the default locations for course files 43 %courseFiles = ( 44 environment => "$courseDirs{root}/course.conf", 45 ); 46 47 %dbInfo = ( 48 auth_type => "GDBM", 49 auth_passwd_file => "$courseDirs{auth_DATA}/$courseName\_password_DB", 50 auth_perm_file => "$courseDirs{auth_DATA}/$courseName\_permissions_DB", 51 auth_keys_file => "$courseDirs{auth_DATA}/keys", 52 wwdb_type => "GDBM", 53 wwdb_file => "$courseDirs{DATA}/$courseName\_webwork_DB", 54 cldb_type => "GDBM", 55 cldb_file => "$courseDirs{DATA}/$courseName\_classlist_DB", 56 ); 57 58 %templates = ( 59 system => "$webworkDirs{conf}/system.template", 60 ); 61 62 # sessionKeyTimeout defines length of inactivity before a key expires (seconds) 63 $sessionKeyTimeout = 60*30; 64 65 # Practice users are users who's names start with $practiceUser 66 # (you can comment this out to remove practice user support) 67 $practiceUserPrefix = "practice"; 68 69 # There is a practice user who can be logged in multiple times. He's 70 # commented out by default, though, so you don't hurt yourself. It is 71 # kindof a backdoor to the practice user system, since he doesn't have a 72 # password. Come to think of it, why do we even have this?! 73 #$debugPracticeUser = "practice666";
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |