| 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$ |
5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.44 2003/12/09 01:12:28 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. |
| … | |
… | |
| 170 | |
170 | |
| 171 | ################################################################################ |
171 | ################################################################################ |
| 172 | # Database options |
172 | # Database options |
| 173 | ################################################################################ |
173 | ################################################################################ |
| 174 | |
174 | |
| 175 | # Several database layouts are defined in separate environment files. Select the |
175 | # Several database are defined in the file conf/database.conf and stored in the |
| 176 | # one which should be used by all courses by default, and include it. This can |
176 | # hash %dbLayouts. |
| 177 | # be overridden by including a difference environment file in the course.conf of |
|
|
| 178 | # a particular course. |
|
|
| 179 | |
|
|
| 180 | # Include sql.conf to specify a database layout for use with an SQL server. |
|
|
| 181 | #include "conf/sql.conf"; |
|
|
| 182 | |
|
|
| 183 | # Include gdbm.conf to specify a database layout for WeBWorK 1.x compatible GDBM |
|
|
| 184 | # databases. Use this layout if you wish to share courses between WeBWorK 1.x |
|
|
| 185 | # and WeBWorK 2. |
|
|
| 186 | include "conf/gdbm.conf"; |
177 | include "conf/database.conf"; |
| 187 | |
178 | |
| 188 | # Please read the documentation in the file that you chose to include, as there |
179 | # Select the default database layout. This can be overridden in the course.conf |
| 189 | # are layout-specific options that must be configured. |
180 | # file of a particular course. |
|
|
181 | *dbLayout = $dbLayouts{sql}; |
| 190 | |
182 | |
| 191 | ################################################################################ |
183 | ################################################################################ |
| 192 | # Authorization system |
184 | # Authorization system |
| 193 | ################################################################################ |
185 | ################################################################################ |
| 194 | |
186 | |