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

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

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

Revision 4104 Revision 4105
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: webwork-modperl/conf/database.conf.dist,v 1.21 2006/05/18 19:49:26 sh002i Exp $ 5# $CVSHeader: webwork2/conf/database.conf.dist,v 1.22 2006/05/25 03:12:57 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.
167a Moodle database for user information and authentication. 167a Moodle database for user information and authentication.
168 168
169=cut 169=cut
170 170
171# params used by moodle-backed tables 171# params used by moodle-backed tables
172my $moodle_table_prefix = 'mdl_';
173my %moodleParams = ( 172my %moodleParams = (
174 non_native => 1, 173 non_native => 1,
175 usernameRO => $moodle_username, 174 usernameRO => $moodle_username,
176 passwordRO => $moodle_password, 175 passwordRO => $moodle_password,
177 usernameRW => $moodle_username, 176 usernameRW => $moodle_username,
178 passwordRW => $moodle_password, 177 passwordRW => $moodle_password,
179 debug => $database_debug, 178 debug => $database_debug,
180 tablePrefix => $moodle_table_prefix, #moodle_prefix 179 tablePrefix => $mooble_table_prefix,
181 courseName => $courseName, 180 courseName => $courseName,
182); 181);
183 182
184$dbLayouts{sql_moodle} = { 183$dbLayouts{sql_moodle} = {
185 # start with sql_single table definitions 184 # start with sql_single table definitions

Legend:
Removed from v.4104  
changed lines
  Added in v.4105

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9