[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 3123 Revision 3124
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.114 2004/11/22 17:43:16 sh002i Exp $ 5# $CVSHeader: webwork2/conf/global.conf.dist,v 1.115 2004/12/28 04:56:04 gage 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.
26################################################################################ 26################################################################################
27# Seed variables 27# Seed variables
28################################################################################ 28################################################################################
29 29
30# Set these variables to correspond to your configuration and preferences. You 30# Set these variables to correspond to your configuration and preferences. You
31# will need to restart the webserver to reset the variables in this section 31# will need to restart the webserver to reset the variables in this section.
32 32
33# URL of WeBWorK handler. 33# URL of WeBWorK handler.
34$webwork_url = "/webwork2"; 34$webwork_url = "/webwork2";
35 35
36# Root directory of PG. 36# Root directory of PG.
47################################################################################ 47################################################################################
48# Paths to external programs 48# Paths to external programs
49################################################################################ 49################################################################################
50 50
51$externalPrograms{mkdir} = "/bin/mkdir"; 51$externalPrograms{mkdir} = "/bin/mkdir";
52$externalPrograms{mv} = "/bin/mv";
52$externalPrograms{mysql} = "/usr/local/bin/mysql"; 53$externalPrograms{mysql} = "/usr/local/bin/mysql";
53 54
54$externalPrograms{latex} = "/usr/local/bin/latex"; 55$externalPrograms{latex} = "/usr/local/bin/latex";
55$externalPrograms{pdflatex} = "/usr/local/bin/pdflatex --shell-escape"; # allows pdflatex to handle .eps files 56$externalPrograms{pdflatex} = "/usr/local/bin/pdflatex --shell-escape"; # allows pdflatex to handle .eps files
56$externalPrograms{dvipng} = "/usr/local/bin/dvipng"; 57$externalPrograms{dvipng} = "/usr/local/bin/dvipng";
160$webworkURLs{oldProf} = "/webwork1/profLogin.pl"; 161$webworkURLs{oldProf} = "/webwork1/profLogin.pl";
161 162
162# URL of WeBWorK Bugzilla database. 163# URL of WeBWorK Bugzilla database.
163$webworkURLs{bugReporter} = "http://bugs.webwork.rochester.edu/"; 164$webworkURLs{bugReporter} = "http://bugs.webwork.rochester.edu/";
164 165
166# Location of CSS
167$webworkURLs{stylesheet} = "$webworkURLs{htdocs}/css/ur.css";
168
165# Location of jsMath script, used for the jsMath display mode. 169# Location of jsMath script, used for the jsMath display mode.
166$webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath.js"; 170$webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath.js";
167 171
168# Location of ASCIIMathML script, used for the asciimath display mode. 172# Location of ASCIIMathML script, used for the asciimath display mode.
169$webworkURLs{asciimath} = "$webworkURLs{htdocs}/ASCIIMathML/ASCIIMathML.js"; 173$webworkURLs{asciimath} = "$webworkURLs{htdocs}/ASCIIMathML/ASCIIMathML.js";
250##### Screen snippets are used when displaying problem sets on the screen. 254##### Screen snippets are used when displaying problem sets on the screen.
251 255
252# The set header is displayed on the problem set page. It is a PG file. 256# The set header is displayed on the problem set page. It is a PG file.
253$webworkFiles{screenSnippets}{setHeader} = "$webworkDirs{conf}/snippets/setHeader.pg"; # screenSetHeader.pg" 257$webworkFiles{screenSnippets}{setHeader} = "$webworkDirs{conf}/snippets/setHeader.pg"; # screenSetHeader.pg"
254 258
259# A PG template for creation of new problems.
255$webworkFiles{screenSnippets}{blankProblem} = "$webworkDirs{conf}/snippets/blankProblem.pg"; # screenSetHeader.pg" 260$webworkFiles{screenSnippets}{blankProblem} = "$webworkDirs{conf}/snippets/blankProblem.pg"; # screenSetHeader.pg"
256
257 261
258################################################################################ 262################################################################################
259# Course-specific files 263# Course-specific files
260################################################################################ 264################################################################################
261 265
293# osuLibrary => "Ohio State", 297# osuLibrary => "Ohio State",
294# capaLibrary => "CAPA", 298# capaLibrary => "CAPA",
295}; 299};
296 300
297################################################################################ 301################################################################################
298# Database options 302# Database options (WWDBv3)
303################################################################################
304
305# The four arguments passed to the DBI::connect() method. See the DBI manual for
306# more information.
307$wwdbv3_settings{dsn} = "dbi:mysql:wwdbv3";
308$wwdbv3_settings{user} = "wwdbv3";
309$wwdbv3_settings{pass} = "xyzzy";
310$wwdbv3_settings{attr} = {};
311
312# WWDBv3 needs a lock file to prevent concurrent database upgrades. The file
313# will be locked with flock().
314$wwdbv3_settings{upgrade_lock} = "$webworkDirs{tmp}/wwdbv3_upgrade.lock";
315
316################################################################################
317# Database options (WWDBv2)
299################################################################################ 318################################################################################
300 319
301# Several database are defined in the file conf/database.conf and stored in the 320# Several database are defined in the file conf/database.conf and stored in the
302# hash %dbLayouts. 321# hash %dbLayouts.
303include "conf/database.conf"; 322include "conf/database.conf";

Legend:
Removed from v.3123  
changed lines
  Added in v.3124

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9