| 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/database.conf.dist,v 1.1 2004/01/03 20:07:02 sh002i Exp $ |
5 | # $CVSHeader: webwork-modperl/conf/database.conf.dist,v 1.2 2004/01/04 07:20:33 sh002i 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. |
| … | |
… | |
| 172 | $dbLayout{problem}->{params}->{globalUserID} = "some_user"; |
172 | $dbLayout{problem}->{params}->{globalUserID} = "some_user"; |
| 173 | |
173 | |
| 174 | =cut |
174 | =cut |
| 175 | |
175 | |
| 176 | my %gdbmGlobalTableParams = ( |
176 | my %gdbmGlobalTableParams = ( |
| 177 | globalUserID => "professor"; |
177 | globalUserID => "professor", |
| 178 | ); |
178 | ); |
| 179 | |
179 | |
| 180 | my %gdbmUserSpecificTableParams = ( |
180 | my %gdbmUserSpecificTableParams = ( |
| 181 | psvnLength => 5; |
181 | psvnLength => 5, |
| 182 | ); |
182 | ); |
| 183 | |
183 | |
| 184 | $dbLayouts{gdbm} = { |
184 | $dbLayouts{gdbm} = { |
| 185 | password => { |
185 | password => { |
| 186 | record => "WeBWorK::DB::Record::Password", |
186 | record => "WeBWorK::DB::Record::Password", |