Parent Directory
|
Revision Log
This commit brings several packages up to date and working. I wish I could be more specific, but it's been a while since I've committed. You'll have to check the CVS diffs for more info. --Dennis
1 ################################################################################ 2 # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester 3 # $Id: global.conf,v 1.13 2002-06-19 22:45:46 malsyned 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 tmp => "$webworkRoot/tmp", 22 ); 23 24 # this hash defines the locations of files needed by WeBWorK 25 %webworkFiles = ( 26 environment => "$webworkDirs{conf}/global.conf", 27 ); 28 29 # this hash defines the default locations for course subdirectories 30 my $courseRoot = "$webworkDirs{courses}/$courseName"; # easier! 31 %courseDirs = ( 32 root => "$courseRoot", 33 DATA => "$courseRoot/DATA", 34 auth_DATA => "$courseRoot/DATA/.auth", 35 html => "$courseRoot/html", 36 html_images => "$courseRoot/html/images", 37 html_temp => "$courseRoot/html/tmp", 38 logs => "$courseRoot/logs", 39 scoring => "$courseRoot/scoring", 40 templates => "$courseRoot/templates", 41 ); 42 43 # this hash defines the default locations for course files 44 %courseFiles = ( 45 environment => "$courseDirs{root}/course.conf", 46 ); 47 48 %dbInfo = ( 49 auth_type => "GDBM", 50 auth_passwd_file => "$courseDirs{auth_DATA}/$courseName\_password_DB", 51 auth_perm_file => "$courseDirs{auth_DATA}/$courseName\_permissions_DB", 52 auth_keys_file => "$courseDirs{auth_DATA}/keys", 53 wwdb_type => "GDBM", 54 wwdb_file => "$courseDirs{DATA}/$courseName\_webwork_DB", 55 cldb_type => "GDBM", 56 cldb_file => "$courseDirs{DATA}/$courseName\_classlist_DB", 57 psvn_digits => 5, 58 ); 59 60 %templates = ( 61 system => "$webworkDirs{conf}/system.template", 62 ); 63 64 my $url_base = "/webwork_files"; 65 66 %urls = ( 67 base => $url_base, 68 logo => "$url_base/images/webwork_logo.gif", 69 ); 70 71 # sessionKeyTimeout defines length of inactivity before a key expires (seconds) 72 $sessionKeyTimeout = 60*30; 73 74 # Practice users are users who's names start with $practiceUser 75 # (you can comment this out to remove practice user support) 76 $practiceUserPrefix = "practice"; 77 78 # There is a practice user who can be logged in multiple times. He's 79 # commented out by default, though, so you don't hurt yourself. It is 80 # kindof a backdoor to the practice user system, since he doesn't have a 81 # password. Come to think of it, why do we even have this?! 82 #$debugPracticeUser = "practice666"; 83 84 # This lets you specify a minimum permission level needed to perform 85 # certain actions. In the current system, >=10 will allow a professor 86 # to perform the action, >=5 will allow a TA to, and >=0 will allow a 87 # student to perform an action (almost never what you want). 88 %permissionLevels = ( 89 "become_student" => 10, 90 );
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |