Parent Directory
|
Revision Log
added screen set header file. -sam
1 #!perl 2 ################################################################################ 3 # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester 4 # $Id: global.conf,v 1.29 2002-10-25 17:19:04 sh002i Exp $ 5 ################################################################################ 6 7 # This file is used to set up the default WeBWorK course environment for all 8 # requests. Values may be overwritten by the course.conf for a specific course. 9 # All package variables set in this file are added to the course environment. 10 # If you wish to set a variable here but omit it from the course environment, 11 # use the "my" keyword. The following variables are available to this file: 12 # 13 # $webworkRoot directory that contains the WeBWorK distribution 14 # $courseName name of the course being used 15 16 ################################################################################ 17 18 %webworkDirs = ( 19 root => "$webworkRoot", 20 bin => "$webworkRoot/bin", 21 conf => "$webworkRoot/conf", 22 courses => "/ww/webwork/courses", #"$webworkRoot/courses", 23 lib => "$webworkRoot/lib", 24 logs => "$webworkRoot/logs", 25 macros => "$webworkRoot/macros", 26 tmp => "$webworkRoot/tmp", 27 ); 28 29 my $courseRoot = "$webworkDirs{courses}/$courseName"; 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 macros => "$courseRoot/templates/macros", 41 ); 42 43 %webworkFiles = ( 44 environment => "$webworkDirs{conf}/global.conf", 45 hardcopySnippets => { 46 preamble => "$webworkDirs{conf}/hardcopyPreamble.tex", 47 setHeader => "$webworkDirs{conf}/hardcopySetHeader.pg", 48 problemDivider => "$webworkDirs{conf}/hardcopyProblemDivider.tex", 49 setFooter => "$webworkDirs{conf}/hardcopySetFooter.pg", 50 setDivider => "$webworkDirs{conf}/hardcopySetDivider.tex", 51 postamble => "$webworkDirs{conf}/hardcopyPostamble.tex", 52 }, 53 screenSnippets => { 54 setHeader => "$webworkDirs{conf}/screenSetHeader.pg", 55 }, 56 logs => { 57 timing => "$webworkDirs{logs}/timing.log", 58 transaction => "$courseDirs{logs}/transaction.log", 59 }, 60 ); 61 62 %courseFiles = ( 63 environment => "$courseDirs{root}/course.conf", 64 ); 65 66 my $webworkURLRoot = "/modperl-sam"; 67 %webworkURLs = ( 68 root => "$webworkURLRoot", 69 htdocs => "/webwork_files", 70 docs => "http://webhost.math.rochester.edu/webworkdocs/docs", 71 ); 72 73 my $courseURLRoot = "$webworkURLs{htdocs}/$courseName"; 74 %courseURLs = ( 75 base => "$courseURLRoot", 76 html => "$courseURLRoot", 77 html_temp => "$courseURLRoot/tmp", 78 ); 79 80 ################################################################################ 81 82 %dbInfo = ( 83 auth_type => "GDBM", 84 auth_passwd_file => "$courseDirs{auth_DATA}/$courseName\_password_DB", 85 auth_perm_file => "$courseDirs{auth_DATA}/$courseName\_permissions_DB", 86 auth_keys_file => "$courseDirs{auth_DATA}/keys", 87 wwdb_type => "GDBM", 88 wwdb_file => "$courseDirs{DATA}/$courseName\_webwork_DB", 89 cldb_type => "GDBM", 90 cldb_file => "$courseDirs{DATA}/$courseName\_classlist_DB", 91 psvn_digits => 5, 92 ); 93 94 %templates = ( 95 system => "$webworkDirs{conf}/barebones.template", 96 ); 97 98 # sessionKeyTimeout defines length of inactivity before a key expires (seconds) 99 $sessionKeyTimeout = 60*30; 100 101 # Practice users are users who's names start with $practiceUser 102 # (you can comment this out to remove practice user support) 103 $practiceUserPrefix = "practice"; 104 105 # There is a practice user who can be logged in multiple times. He's 106 # commented out by default, though, so you don't hurt yourself. It is 107 # kindof a backdoor to the practice user system, since he doesn't have a 108 # password. Come to think of it, why do we even have this?! 109 #$debugPracticeUser = "practice666"; 110 111 # This lets you specify a minimum permission level needed to perform 112 # certain actions. In the current system, >=10 will allow a professor 113 # to perform the action, >=5 will allow a TA to, and >=0 will allow a 114 # student to perform an action (almost never what you want). 115 %permissionLevels = ( 116 "become_student" => 10, 117 ); 118 119 # PG translation stuff 120 %pg = ( 121 options => { 122 # default translation options: 123 displayMode => "images", 124 showOldAnswers => 1, 125 showCorrectAnswers => 0, 126 showHints => 0, 127 showSolutions => 0, 128 # default grader 129 grader => "avg_problem_grader", 130 }, 131 # modules lists module names and the packages each contains 132 modules => [ 133 [qw(DynaLoader)], 134 [qw(Exporter)], 135 [qw(GD)], 136 137 [qw(AlgParser AlgParserWithImplicitExpand Expr ExprWithImplicitExpand)], 138 [qw(AnswerHash AnswerEvaluator)], 139 [qw(WWPlot)], # required by Circle (and others) 140 [qw(Circle)], 141 [qw(Complex)], 142 [qw(Complex1)], 143 [qw(Distributions)], 144 [qw(Fraction)], 145 [qw(Fun)], 146 [qw(Hermite)], 147 [qw(Label)], 148 [qw(List)], 149 [qw(Match)], 150 [qw(MatrixReal1)], # required by Matrix 151 [qw(Matrix)], 152 [qw(Multiple)], 153 [qw(PGrandom)], 154 [qw(Regression)], 155 [qw(Select)], 156 [qw(Units)], 157 [qw(VectorField)], 158 ], 159 # defaults used by answer evaluators 160 ansEvalDefaults => { 161 functAbsTolDefault => .001, 162 functLLimitDefault => .0000001, 163 functMaxConstantOfIntegration => 1E8, 164 functNumOfPoints => 3, 165 functRelPercentTolDefault => .1, 166 functULimitDefault => .9999999, 167 functVarDefault => "x", 168 functZeroLevelDefault => 1E-14, 169 functZeroLevelTolDefault => 1E-12, 170 numAbsTolDefault => .001, 171 numFormatDefault => "", 172 numRelPercentTolDefault => .1, 173 numZeroLevelDefault => 1E-14, 174 numZeroLevelTolDefault => 1E-12, 175 }, 176 ); 177 178 %externalPrograms = ( 179 mv => "/bin/mv", 180 tth => "/usr/local/bin/tth", 181 pdflatex => "/usr/local/bin/pdflatex", 182 latex => "/usr/local/bin/latex", 183 dvipng => "/usr/local/bin/dvipng -mode ljfivemp -D600 -Q6 -x1000.5 -bgTransparent", 184 gif2eps => "$webworkDirs{bin}/gif2eps", 185 png2eps => "$webworkDirs{bin}/png2eps", 186 );
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |