| 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: webwork2/conf/global.conf.dist,v 1.157 2005/12/18 21:44:54 sh002i Exp $ |
5 | # $CVSHeader: webwork2/conf/global.conf.dist,v 1.158 2005/12/18 22:00:58 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. |
| … | |
… | |
| 169 | $webworkDirs{bin} = "$webworkDirs{root}/bin"; |
169 | $webworkDirs{bin} = "$webworkDirs{root}/bin"; |
| 170 | |
170 | |
| 171 | # Location of configuration files, templates, snippets, etc. |
171 | # Location of configuration files, templates, snippets, etc. |
| 172 | $webworkDirs{conf} = "$webworkDirs{root}/conf"; |
172 | $webworkDirs{conf} = "$webworkDirs{root}/conf"; |
| 173 | |
173 | |
|
|
174 | # Location of theme templates. |
|
|
175 | $webworkDirs{templates} = "$webworkDirs{conf}/templates"; |
|
|
176 | |
| 174 | # Location of course directories. |
177 | # Location of course directories. |
| 175 | $webworkDirs{courses} = "$webwork_courses_dir" || "$webworkDirs{root}/courses"; |
178 | $webworkDirs{courses} = "$webwork_courses_dir" || "$webworkDirs{root}/courses"; |
| 176 | |
179 | |
| 177 | # Contains log files. |
180 | # Contains log files. |
| 178 | $webworkDirs{logs} = "$webworkDirs{root}/logs"; |
181 | $webworkDirs{logs} = "$webworkDirs{root}/logs"; |
| … | |
… | |
| 450 | # The contents of the templates directory are copied from this course |
453 | # The contents of the templates directory are copied from this course |
| 451 | # to the new course being created. |
454 | # to the new course being created. |
| 452 | $siteDefaults{default_templates_course} ="modelCourse"; |
455 | $siteDefaults{default_templates_course} ="modelCourse"; |
| 453 | |
456 | |
| 454 | ################################################################################ |
457 | ################################################################################ |
| 455 | # Frontend options |
458 | # Theme |
| 456 | ################################################################################ |
459 | ################################################################################ |
| 457 | |
460 | |
| 458 | %templates = ( |
461 | $defaultTheme = "math"; |
| 459 | system => "$webworkDirs{conf}/templates/ur.template", |
462 | $defaultThemeTemplate = "system"; |
| 460 | gateway => "$webworkDirs{conf}/templates/gw.template", |
|
|
| 461 | ); |
|
|
| 462 | |
463 | |
| 463 | ################################################################################ |
464 | ################################################################################ |
| 464 | # Authorization system |
465 | # Authorization system |
| 465 | ################################################################################ |
466 | ################################################################################ |
| 466 | |
467 | |