[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 798 Revision 808
1#!perl 1#!perl
2################################################################################ 2################################################################################
3# WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester 3# WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester
4# $Id: global.conf.dist,v 1.16 2003-03-21 23:30:10 sh002i Exp $ 4# $Id: global.conf.dist,v 1.17 2003-04-17 21:01:14 sh002i Exp $
5################################################################################ 5################################################################################
6 6
7# This file is used to set up the default WeBWorK course environment for all 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. 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. 9# All package variables set in this file are added to the course environment.
159# dbLayout records the schema and source for each table in the "new" DB.pm 159# dbLayout records the schema and source for each table in the "new" DB.pm
160# database system. consult DB.pm for the authoritative list of tables. 160# database system. consult DB.pm for the authoritative list of tables.
161# schema = perl module to use for access to the table 161# schema = perl module to use for access to the table
162# driver = perl module to use for access to the data source 162# driver = perl module to use for access to the data source
163# source = location of data source (i.e. path, url, DBI spec) 163# source = location of data source (i.e. path, url, DBI spec)
164# params = extra information needed by the schema (optional)
164# note: schema and driver must have the same interface. 165# note: schema and driver must have the same interface.
165%dbLayout = ( 166%dbLayout = (
166 password => { 167 password => {
167 record => "WeBWorK::DB::Record::Password", 168 record => "WeBWorK::DB::Record::Password",
168 schema => "WeBWorK::DB::Schema::Auth1Hash", 169 schema => "WeBWorK::DB::Schema::Auth1Hash",
187 driver => "WeBWorK::DB::Driver::GDBM", 188 driver => "WeBWorK::DB::Driver::GDBM",
188 source => "$courseDirs{DATA}/$courseName\_classlist_DB", 189 source => "$courseDirs{DATA}/$courseName\_classlist_DB",
189 }, 190 },
190 set => { 191 set => {
191 record => "WeBWorK::DB::Record::Set", 192 record => "WeBWorK::DB::Record::Set",
192 schema => "WeBWorK::DB::Schema::WW1Hash", 193 schema => "WeBWorK::DB::Schema::Null",
193 driver => "WeBWorK::DB::Driver::GDBM", 194 driver => "WeBWorK::DB::Driver::Null",
194 source => "$courseDirs{DATA}/$courseName\_webwork_DB", 195 source => undef,
195 }, 196 },
196 set_user => { 197 set_user => {
197 record => "WeBWorK::DB::Record::UserSet", 198 record => "WeBWorK::DB::Record::UserSet",
198 schema => "WeBWorK::DB::Schema::WW1Hash", 199 schema => "WeBWorK::DB::Schema::WW1Hash",
199 driver => "WeBWorK::DB::Driver::GDBM", 200 driver => "WeBWorK::DB::Driver::GDBM",
200 source => "$courseDirs{DATA}/$courseName\_webwork_DB", 201 source => "$courseDirs{DATA}/$courseName\_webwork_DB",
202 params => { psvnLength => 5 },
201 }, 203 },
202 problem => { 204 problem => {
203 record => "WeBWorK::DB::Record::Problem", 205 record => "WeBWorK::DB::Record::Problem",
204 schema => "WeBWorK::DB::Schema::WW1Hash", 206 schema => "WeBWorK::DB::Schema::Null",
205 driver => "WeBWorK::DB::Driver::GDBM", 207 driver => "WeBWorK::DB::Driver::Null",
206 source => "$courseDirs{DATA}/$courseName\_webwork_DB", 208 source => undef,
207 }, 209 },
208 problem_user => { 210 problem_user => {
209 record => "WeBWorK::DB::Record::UserProblem", 211 record => "WeBWorK::DB::Record::UserProblem",
210 schema => "WeBWorK::DB::Schema::WW1Hash", 212 schema => "WeBWorK::DB::Schema::WW1Hash",
211 driver => "WeBWorK::DB::Driver::GDBM", 213 driver => "WeBWorK::DB::Driver::GDBM",
212 source => "$courseDirs{DATA}/$courseName\_webwork_DB", 214 source => "$courseDirs{DATA}/$courseName\_webwork_DB",
215 params => { psvnLength => 5 },
213 }, 216 },
214); 217);
215 218
216# This lets you specify a minimum permission level needed to perform 219# This lets you specify a minimum permission level needed to perform
217# certain actions. In the current system, >=10 will allow a professor 220# certain actions. In the current system, >=10 will allow a professor

Legend:
Removed from v.798  
changed lines
  Added in v.808

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9