[system] / branches / rel-2-4-dev / webwork-modperl / conf / global.conf.dist Repository:
ViewVC logotype

Diff of /branches/rel-2-4-dev/webwork-modperl/conf/global.conf.dist

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

Revision 4377 Revision 4378
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/global.conf.dist,v 1.171 2006/08/05 03:36:58 sh002i Exp $ 5# $CVSHeader: webwork2/conf/global.conf.dist,v 1.172 2006/08/11 21:50:40 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.
41$webwork_htdocs_dir = "$webwork_dir/htdocs"; 41$webwork_htdocs_dir = "$webwork_dir/htdocs";
42 42
43# URL and path to courses directory. 43# URL and path to courses directory.
44$webwork_courses_url = "/webwork2_course_files"; 44$webwork_courses_url = "/webwork2_course_files";
45$webwork_courses_dir = "$webwork_dir/courses"; 45$webwork_courses_dir = "$webwork_dir/courses";
46
47# machine domain name (#FIXME can we get this automatically???) (needed to find applets)
48$domainName = "devel.webwork.rochester.edu:8002";
49 46
50################################################################################ 47################################################################################
51# Paths to external programs 48# Paths to external programs
52################################################################################ 49################################################################################
53 50
380$database_password = ""; 377$database_password = "";
381$database_debug = 0; 378$database_debug = 0;
382 379
383# Variables for sql_moodle database layout. 380# Variables for sql_moodle database layout.
384$moodle_dsn = "dbi:mysql:moodle"; 381$moodle_dsn = "dbi:mysql:moodle";
385$moodle_dsn = "dbi:mysql:moodle_sam";
386$moodle_table_prefix = "mdl_"; 382$moodle_table_prefix = "mdl_";
387$moodle_username = $database_username; 383$moodle_username = $database_username;
388$moodle_password = $database_password; 384$moodle_password = $database_password;
389 385
390# Several database are defined in the file conf/database.conf and stored in the 386# Several database are defined in the file conf/database.conf and stored in the
757 753
758# The root of the PG directory tree (from pg_root in Apache config). 754# The root of the PG directory tree (from pg_root in Apache config).
759$pg{directories}{root} = "$pg_dir"; 755$pg{directories}{root} = "$pg_dir";
760$pg{directories}{lib} = "$pg{directories}{root}/lib"; 756$pg{directories}{lib} = "$pg{directories}{root}/lib";
761$pg{directories}{macros} = "$pg{directories}{root}/macros"; 757$pg{directories}{macros} = "$pg{directories}{root}/macros";
762$pg{directories}{applets} = "http://$domainName$webwork_htdocs_url/applets";
763 758
764# 759#
765# The macro file search path. Each directory in this list is seached 760# The macro file search path. Each directory in this list is seached
766# (in this order) by loadMacros() when it looks for a .pl file. 761# (in this order) by loadMacros() when it looks for a .pl file.
767# 762#
769 ".", # search the problem file's directory 764 ".", # search the problem file's directory
770 $courseDirs{macros}, 765 $courseDirs{macros},
771 $pg{directories}{macros}, 766 $pg{directories}{macros},
772]; 767];
773 768
769# The applet search path. If a full URL is given, it is used unmodified. If an
770# absolute path is given, the URL of the local server is prepended to it.
771#
772# For example, if an item is "/math/applets",
773# and the local server is "https://math.yourschool.edu",
774# then the URL "https://math.yourschool.edu/math/applets" will be used.
775#
774$pg{directories}{appletPath} = [ # paths to search for applets (requires full url) 776$pg{directories}{appletPath} = [ # paths to search for applets (requires full url)
775 $pg{directories}{applets}, 777 "$webworkURLs{htdocs}/applets",
776 "http://$domainName$courseURLs{html}/applets", 778 "$courseURLs{html}/applets",
777]; 779];
778 780
779##### "Special" PG environment variables. (Stuff that doesn't fit in anywhere else.) 781##### "Special" PG environment variables. (Stuff that doesn't fit in anywhere else.)
780 782
781# Users for whom to print the file name of the PG file being processed. 783# Users for whom to print the file name of the PG file being processed.

Legend:
Removed from v.4377  
changed lines
  Added in v.4378

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9