| 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/global.conf.dist,v 1.77 2004/06/24 17:21:23 sh002i Exp $ |
5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.78 2004/06/25 16:29:20 jj 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. |
| … | |
… | |
| 297 | }, |
297 | }, |
| 298 | # options for various renderers |
298 | # options for various renderers |
| 299 | renderers => { |
299 | renderers => { |
| 300 | "WeBWorK::PG::Remote" => { |
300 | "WeBWorK::PG::Remote" => { |
| 301 | proxy => "http://localhost:21000/RenderD" |
301 | proxy => "http://localhost:21000/RenderD" |
|
|
302 | }, |
|
|
303 | |
|
|
304 | # next can be baseline, absmiddle, or mysql |
|
|
305 | dvipng_align => 'baseline', |
|
|
306 | |
|
|
307 | # if we choose mysql, we need information on connecting |
|
|
308 | # to the database. Whatever you use here, you have to |
|
|
309 | # create the database and grant read/write priveleges to |
|
|
310 | # the user listed here |
|
|
311 | dvipng_depth_db => { |
|
|
312 | dbsource => 'dbi:mysql:DvipngDepths', |
|
|
313 | user => $dbLayouts{sql}->{password}->{params}->{usernameRW}, |
|
|
314 | passwd => $dbLayouts{sql}->{password}->{params}->{passwordRW}, |
| 302 | } |
315 | } |
| 303 | }, |
316 | }, |
| 304 | # currently selected renderer |
317 | # currently selected renderer |
| 305 | renderer => "WeBWorK::PG::Local", |
318 | renderer => "WeBWorK::PG::Local", |
| 306 | #renderer => "WeBWorK::PG::Remote", |
319 | #renderer => "WeBWorK::PG::Remote", |