[system] / trunk / webwork-modperl / conf / global.conf.dist Repository:
ViewVC logotype

Diff of /trunk/webwork-modperl/conf/global.conf.dist

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

Revision 1800 Revision 1801
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.49 2004/02/12 14:32:48 gage Exp $ 5# $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.50 2004/02/12 14:36:56 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.
71 home => "/webwork2_files/index.html", 71 home => "/webwork2_files/index.html",
72 htdocs => "/webwork2_files", 72 htdocs => "/webwork2_files",
73 htdocs_temp => "/webwork2_files/tmp", 73 htdocs_temp => "/webwork2_files/tmp",
74 equationCache => "/webwork2_files/tmp/equations", 74 equationCache => "/webwork2_files/tmp/equations",
75 docs => "http://webhost.math.rochester.edu/webworkdocs/docs", 75 docs => "http://webhost.math.rochester.edu/webworkdocs/docs",
76 oldProf => "/webwork-old/profLogin.pl", 76 oldProf => "/webwork1/profLogin.pl",
77); 77);
78 78
79################################################################################ 79################################################################################
80# Default course-specific settings 80# Default course-specific settings
81################################################################################ 81################################################################################
121################################################################################ 121################################################################################
122 122
123%mail = ( 123%mail = (
124 smtpServer => "mail.math.rochester.edu", 124 smtpServer => "mail.math.rochester.edu",
125 smtpSender => "webwork\@math.rochester.edu", 125 smtpSender => "webwork\@math.rochester.edu",
126
126 # allowedRecipients defines addresses that the PG system is allowed to 127 # allowedRecipients defines addresses that the PG system is allowed to
127 # send mail to. this prevents subtle PG exploits. This should be set 128 # send mail to. this prevents subtle PG exploits. This should be set
128 # in course.conf to the addresses of professors of each course. Sending 129 # in course.conf to the addresses of professors of each course. Sending
129 # mail from the PG system (i.e. questionaires, essay questions) will 130 # mail from the PG system (i.e. questionaires, essay questions) will
130 # fail if this is not set somewhere (either here or in course.conf). 131 # fail if this is not set somewhere (either here or in course.conf).
131 #allowedRecipients => [ 132 #allowedRecipients => [
132 # 'yourname@host.yourdomain.edu', 133 # 'prof1@host.yourdomain.edu',
134 # 'prof2@host.yourdomain.edu',
133 #], 135 #],
136
134 # if defined, feedbackRecipients overrides the list of recipients for 137 # if defined, feedbackRecipients overrides the list of recipients for
135 # feedback email. It's appropriate to set this in the course.conf for 138 # feedback email. It's appropriate to set this in the course.conf for
136 # specific courses, but probably not in global.conf. if not defined, 139 # specific courses, but probably not in global.conf. if not defined,
137 # mail is sent to all professors and TAs for a given course 140 # mail is sent to all professors and TAs for a given course
138 #feedbackRecipients => [ 141 #feedbackRecipients => [
139 # 'prof1@host.yourdomain.edu', 142 # 'prof1@host.yourdomain.edu',
140 # 'prof2@host.yourdomain.edu', 143 # 'prof2@host.yourdomain.edu',
141 #], 144 #],
145
142 # feedbackVerbosity: 146 # feedbackVerbosity:
143 # 0: send only the feedback comment and context link 147 # 0: send only the feedback comment and context link
144 # 1: as in 0, plus user, set, problem, and PG data 148 # 1: as in 0, plus user, set, problem, and PG data
145 # 2: as in 1, plus the problem environment (debugging data) 149 # 2: as in 1, plus the problem environment (debugging data)
146 feedbackVerbosity => 1, 150 feedbackVerbosity => 1,
151
152 # defines the size of the Mail Merge editor window
153 # FIXME: should this be here? it's UI, not mail
154 # FIXME: replace this with the auto-size method that TWiki uses
147 editor_window_rows => 15, 155 editor_window_rows => 15,
148 editor_window_columns => 100, 156 editor_window_columns => 100,
149); 157);
150 158
151%externalPrograms = ( 159%externalPrograms = (
152 mkdir => "/bin/mkdir", 160 mkdir => "/bin/mkdir",
153 tth => "/usr/local/bin/tth", 161 tth => "/usr/local/bin/tth",
175# hash %dbLayouts. 183# hash %dbLayouts.
176include "conf/database.conf"; 184include "conf/database.conf";
177 185
178# Select the default database layout. This can be overridden in the course.conf 186# Select the default database layout. This can be overridden in the course.conf
179# file of a particular course. 187# file of a particular course.
180#*dbLayout = $dbLayouts{sql}; 188#$dbLayoutName = "sql";
189$dbLayoutName = "gdbm";
190
181*dbLayout = $dbLayouts{gdbm}; 191*dbLayout = $dbLayouts{$dbLayoutName};
182 192
183################################################################################ 193################################################################################
184# Authorization system 194# Authorization system
185################################################################################ 195################################################################################
186 196

Legend:
Removed from v.1800  
changed lines
  Added in v.1801

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9