[system] / branches / rel-2-4-patches / webwork-modperl / conf / global.conf.dist Repository:
ViewVC logotype

Diff of /branches/rel-2-4-patches/webwork-modperl/conf/global.conf.dist

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1957 Revision 2146
1#!perl 1#!perl
2################################################################################ 2################################################################################
3# WeBWorK Online Homework Delivery System 3# WeBWorK Online Homework Delivery System
4# Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ 4# Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
5# $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.55 2004/04/05 03:58:21 sh002i Exp $ 5# $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.63 2004/05/21 23:41:49 jj Exp $
6# 6#
7# This program is free software; you can redistribute it and/or modify it under 7# This program is free software; you can redistribute it and/or modify it under
8# the terms of either: (a) the GNU General Public License as published by the 8# the terms of either: (a) the GNU General Public License as published by the
9# Free Software Foundation; either version 2, or (at your option) any later 9# Free Software Foundation; either version 2, or (at your option) any later
10# version, or (b) the "Artistic License" which comes with this package. 10# version, or (b) the "Artistic License" which comes with this package.
107 107
108# quick hack to fix transaction logging. blah. 108# quick hack to fix transaction logging. blah.
109$webworkFiles{logs}->{transaction} = "$courseDirs{logs}/transaction.log"; 109$webworkFiles{logs}->{transaction} = "$courseDirs{logs}/transaction.log";
110$webworkFiles{logs}->{pastAnswerList} = "$courseDirs{logs}/past_answers.log"; 110$webworkFiles{logs}->{pastAnswerList} = "$courseDirs{logs}/past_answers.log";
111 111
112my $courseURLRoot = "/webwork2_courses/$courseName"; 112my $courseURLRoot = "/webwork2_course_files/$courseName";
113%courseURLs = ( 113%courseURLs = (
114 root => "$courseURLRoot", 114 root => "$courseURLRoot",
115 html => "$courseURLRoot", 115 html => "$courseURLRoot",
116 html_temp => "$courseURLRoot/tmp", 116 html_temp => "$courseURLRoot/tmp",
117); 117);
166 png2eps => "$webworkDirs{bin}/png2eps", 166 png2eps => "$webworkDirs{bin}/png2eps",
167 gif2png => "$webworkDirs{bin}/gif2png", 167 gif2png => "$webworkDirs{bin}/gif2png",
168 mysql => "/usr/local/bin/mysql", 168 mysql => "/usr/local/bin/mysql",
169); 169);
170 170
171%siteDefaults = (
172 status => {
173 audit => "Audit",
174 A => "Audit",
175 drop => "Drop",
176 D => "Drop",
177 withdraw => "Drop",
178 current => "Enrolled",
179 C => "Enrolled",
180 enrolled => "Enrolled",
181 },
182);
183
171################################################################################ 184################################################################################
172# Frontend options 185# Frontend options
173################################################################################ 186################################################################################
174 187
175%templates = ( 188%templates = (
188# file of a particular course. 201# file of a particular course.
189#$dbLayoutName = "sql"; 202#$dbLayoutName = "sql";
190$dbLayoutName = "gdbm"; 203$dbLayoutName = "gdbm";
191 204
192*dbLayout = $dbLayouts{$dbLayoutName}; 205*dbLayout = $dbLayouts{$dbLayoutName};
206
207################################################################################
208# Problem library options
209################################################################################
210
211%problemLibrary = (
212 root => "", # set to the top of the problem library, if its installed
213 sourceSQL => "ProblemLibrary",
214 userSQL => "webworkRead",
215 passwordSQL => "",
216);
193 217
194################################################################################ 218################################################################################
195# Authorization system 219# Authorization system
196################################################################################ 220################################################################################
197 221
210 modify_student_data => $professor, 234 modify_student_data => $professor,
211 score_sets => $professor, 235 score_sets => $professor,
212 send_mail => $professor, 236 send_mail => $professor,
213 modify_classlist_files => $professor, 237 modify_classlist_files => $professor,
214 modify_set_def_files => $professor, 238 modify_set_def_files => $professor,
239 modify_scoring_files => $professor,
240 create_and_delete_courses => $professor,
215); 241);
216 242
217################################################################################ 243################################################################################
218# Session options 244# Session options
219################################################################################ 245################################################################################
320 numFormatDefault => "", 346 numFormatDefault => "",
321 numRelPercentTolDefault => .1, 347 numRelPercentTolDefault => .1,
322 numZeroLevelDefault => 1E-14, 348 numZeroLevelDefault => 1E-14,
323 numZeroLevelTolDefault => 1E-12, 349 numZeroLevelTolDefault => 1E-12,
324 useBaseTenLog => 0, 350 useBaseTenLog => 0,
351 defaultDisplayMatrixStyle => "[s]",
325 }, 352 },
326); 353);

Legend:
Removed from v.1957  
changed lines
  Added in v.2146

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9