Parent Directory
|
Revision Log
All of the content generators now work with the template system Moved the content generators into the WeBWorK::ContentGenerator namespace Added the default template and a few global.conf entries
1 ################################################################################ 2 # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester 3 # $Id: global.conf,v 1.11 2002-06-07 23:35:54 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 ); 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 my $url_base = "/webwork_files"; 63 64 %urls = ( 65 base => $url_base, 66 logo => "$url_base/images/webwork_logo.gif", 67 ); 68 69 # sessionKeyTimeout defines length of inactivity before a key expires (seconds) 70 $sessionKeyTimeout = 60*30; 71 72 # Practice users are users who's names start with $practiceUser 73 # (you can comment this out to remove practice user support) 74 $practiceUserPrefix = "practice"; 75 76 # There is a practice user who can be logged in multiple times. He's 77 # commented out by default, though, so you don't hurt yourself. It is 78 # kindof a backdoor to the practice user system, since he doesn't have a 79 # password. Come to think of it, why do we even have this?! 80 #$debugPracticeUser = "practice666";
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |