[system] / trunk / webwork2 / conf / global.conf.dist Repository:
ViewVC logotype

Diff of /trunk/webwork2/conf/global.conf.dist

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

Revision 2119 Revision 2261
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.61 2004/05/14 18:31:12 toenail Exp $ 5# $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.71 2004/05/24 21:28:42 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.
38 conf => "$webworkRoot/conf", 38 conf => "$webworkRoot/conf",
39 courses => "$webworkRoot/courses", 39 courses => "$webworkRoot/courses",
40 htdocs => "$webworkRoot/htdocs", 40 htdocs => "$webworkRoot/htdocs",
41 htdocs_temp => "$webworkRoot/htdocs/tmp", 41 htdocs_temp => "$webworkRoot/htdocs/tmp",
42 equationCache => "$webworkRoot/htdocs/tmp/equations", 42 equationCache => "$webworkRoot/htdocs/tmp/equations",
43 local_help => "$webworkRoot/htdocs/helpFiles",
43 lib => "$webworkRoot/lib", 44 lib => "$webworkRoot/lib",
44 logs => "$webworkRoot/logs", 45 logs => "$webworkRoot/logs",
45 macros => "$pgRoot/macros", 46 macros => "$pgRoot/macros",
46 tmp => "$webworkRoot/tmp", 47 tmp => "$webworkRoot/tmp",
47 libraryRoot => "", # set to the top of the problem library, if its installed
48); 48);
49 49
50%webworkFiles = ( 50%webworkFiles = (
51 environment => "$webworkDirs{conf}/global.conf", 51 environment => "$webworkDirs{conf}/global.conf",
52 hardcopySnippets => { 52 hardcopySnippets => {
53 preamble => "$webworkDirs{conf}/snippets/hardcopyPreamble.tex", 53 preamble => "$webworkDirs{conf}/snippets/hardcopyPreamble.tex",
54 setHeader => "$webworkDirs{conf}/snippets/hardcopySetHeader.pg", 54 setHeader => "$webworkDirs{conf}/snippets/setHeader.pg", # hardcopySetHeader.pg",
55 problemDivider => "$webworkDirs{conf}/snippets/hardcopyProblemDivider.tex", 55 problemDivider => "$webworkDirs{conf}/snippets/hardcopyProblemDivider.tex",
56 setFooter => "$webworkDirs{conf}/snippets/hardcopySetFooter.pg", 56 setFooter => "$webworkDirs{conf}/snippets/hardcopySetFooter.pg",
57 setDivider => "$webworkDirs{conf}/snippets/hardcopySetDivider.tex", 57 setDivider => "$webworkDirs{conf}/snippets/hardcopySetDivider.tex",
58 userDivider => "$webworkDirs{conf}/snippets/hardcopyUserDivider.tex", 58 userDivider => "$webworkDirs{conf}/snippets/hardcopyUserDivider.tex",
59 postamble => "$webworkDirs{conf}/snippets/hardcopyPostamble.tex", 59 postamble => "$webworkDirs{conf}/snippets/hardcopyPostamble.tex",
60 }, 60 },
61 screenSnippets => { 61 screenSnippets => {
62 setHeader => "$webworkDirs{conf}/snippets/setHeader.pg", 62 setHeader => "$webworkDirs{conf}/snippets/setHeader.pg", # screenSetHeader.pg",
63 }, 63 },
64 logs => { 64 logs => {
65 timing => "$webworkDirs{logs}/timing.log", 65 timing => "$webworkDirs{logs}/timing.log",
66 }, 66 },
67 equationCacheDB => "$webworkDirs{DATA}/equationcache", 67 equationCacheDB => "$webworkDirs{DATA}/equationcache",
72 home => "/webwork2_files/index.html", 72 home => "/webwork2_files/index.html",
73 htdocs => "/webwork2_files", 73 htdocs => "/webwork2_files",
74 htdocs_temp => "/webwork2_files/tmp", 74 htdocs_temp => "/webwork2_files/tmp",
75 equationCache => "/webwork2_files/tmp/equations", 75 equationCache => "/webwork2_files/tmp/equations",
76 docs => "http://webhost.math.rochester.edu/webworkdocs/docs", 76 docs => "http://webhost.math.rochester.edu/webworkdocs/docs",
77 local_help => "/webwork2_files/helpFiles",
77 oldProf => "/webwork1/profLogin.pl", 78 oldProf => "/webwork1/profLogin.pl",
79 jsMath => "/webwork2_files/jsMath/jsMath.js",
80 asciimath => "/webwork2_files/ASCIIMathML/ASCIIMathML.js",
78); 81);
79 82
80################################################################################ 83################################################################################
81# Default course-specific settings 84# Default course-specific settings
82################################################################################ 85################################################################################
204$dbLayoutName = "gdbm"; 207$dbLayoutName = "gdbm";
205 208
206*dbLayout = $dbLayouts{$dbLayoutName}; 209*dbLayout = $dbLayouts{$dbLayoutName};
207 210
208################################################################################ 211################################################################################
212# Problem library options
213################################################################################
214
215%problemLibrary = (
216 root => "", # set to the top of the problem library, if its installed
217 sourceSQL => "ProblemLibrary",
218 userSQL => "webworkRead",
219 passwordSQL => "",
220);
221
222################################################################################
209# Authorization system 223# Authorization system
210################################################################################ 224################################################################################
211 225
212# This lets you specify a minimum permission level needed to perform certain 226# This lets you specify a minimum permission level needed to perform certain
213# actions. In the current system, >=10 will allow a professor to perform the 227# actions. In the current system, >=10 will allow a professor to perform the
256################################################################################ 270################################################################################
257# PG translation options 271# PG translation options
258################################################################################ 272################################################################################
259 273
260%pg = ( 274%pg = (
261 # options for various renderers 275 # available display modes
262 renderers => { 276 displayModes => [ qw(plainText formattedText images jsMath asciimath) ],
263 "WeBWorK::PG::Remote" => { 277 # pg options
264 proxy => "http://localhost:21000/RenderD"
265 }
266 },
267 # currently selected renderer
268 renderer => "WeBWorK::PG::Local",
269 #renderer => "WeBWorK::PG::Remote",
270 # directories used by PG
271 directories => {
272 # directories used only by PG
273 root => "$pgRoot",
274 lib => "$pgRoot/lib",
275 macros => "$pgRoot/macros",
276 },
277 options => { 278 options => {
278 # default translation options 279 # default translation options
279 displayMode => "images", 280 displayMode => "images",
280 showOldAnswers => 1, 281 showOldAnswers => 1,
281 showCorrectAnswers => 0, 282 showCorrectAnswers => 0,
283 showSolutions => 0, 284 showSolutions => 0,
284 catchWarnings => 0, # there's a global warning catcher now 285 catchWarnings => 0, # there's a global warning catcher now
285 # default grader 286 # default grader
286 grader => "avg_problem_grader", 287 grader => "avg_problem_grader",
287 }, 288 },
289 # options for various renderers
290 renderers => {
291 "WeBWorK::PG::Remote" => {
292 proxy => "http://localhost:21000/RenderD"
293 }
294 },
295 # currently selected renderer
296 renderer => "WeBWorK::PG::Local",
297 #renderer => "WeBWorK::PG::Remote",
298 # directories used by PG
299 directories => {
300 # directories used only by PG
301 root => "$pgRoot",
302 lib => "$pgRoot/lib",
303 macros => "$pgRoot/macros",
304 },
288 # this will be customized in the course.conf file 305 # this can be customized in the course.conf file
289 specialPGEnvironmentVars => { 306 specialPGEnvironmentVars => {
290 PRINT_FILE_NAMES_FOR => [ qw(professor) ], 307 PRINT_FILE_NAMES_FOR => [ qw(professor) ],
291 CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", 308 CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/",
292 CAPA_MCTools => "$courseDirs{macros}/CAPA_MCTools/", 309 CAPA_MCTools => "$courseDirs{macros}/CAPA_MCTools/",
293 CAPA_Graphics_URL => "$courseURLs{html}/CAPA_Graphics/", 310 CAPA_Graphics_URL => "$courseURLs{html}/CAPA_Graphics/",
294 CAPA_GraphicsDirectory => "$courseDirs{html}/CAPA_Graphics/", 311 CAPA_GraphicsDirectory => "$courseDirs{html}/CAPA_Graphics/",
312 onTheFlyImageSize => 400,
295 }, 313 },
296 # modules lists module names and the packages each contains 314 # modules lists module names and the packages each contains
297 modules => [ 315 modules => [
298 [qw(DynaLoader)], 316 [qw(DynaLoader)],
299 [qw(Exporter)], 317 [qw(Exporter)],

Legend:
Removed from v.2119  
changed lines
  Added in v.2261

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9