| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK Online Homework Delivery System |
3 | # WeBWorK Online Homework Delivery System |
| 4 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
4 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
| 5 | # $CVSHeader: webwork2/conf/database.conf.dist,v 1.17 2006/05/16 18:58:04 sh002i Exp $ |
5 | # $CVSHeader: webwork2/conf/database.conf.dist,v 1.18 2006/05/16 21:10:35 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. |
| … | |
… | |
| 168 | |
168 | |
| 169 | =cut |
169 | =cut |
| 170 | |
170 | |
| 171 | # params used by moodle-backed tables |
171 | # params used by moodle-backed tables |
| 172 | my %moodleParams = ( |
172 | my %moodleParams = ( |
|
|
173 | non_native => 1, |
| 173 | usernameRO => $moodle_username, |
174 | usernameRO => $moodle_username, |
| 174 | passwordRO => $moodle_password, |
175 | passwordRO => $moodle_password, |
| 175 | usernameRW => $moodle_username, |
176 | usernameRW => $moodle_username, |
| 176 | passwordRW => $moodle_password, |
177 | passwordRW => $moodle_password, |
| 177 | debug => $database_debug, |
178 | debug => $database_debug, |