2 /************************************************************************/
4 /************************************************************************/
5 /* Copyright (c) 2002-2010 */
8 /* This program is free software. You can redistribute it and/or */
9 /* modify it under the terms of the GNU General Public License */
10 /* as published by the Free Software Foundation. */
11 /************************************************************************/
13 /************************************************************************/
14 /************************************************************************/
16 /* the database user name */
17 define('DB_USER', '{USER}');
19 /* the database password */
20 define('DB_PASSWORD', '{PASSWORD}');
22 /* the database host */
23 define('DB_HOST', '{HOST}');
25 /* the database tcp/ip port */
26 define('DB_PORT', '{PORT}');
28 /* the database name */
29 define('DB_NAME', '{DBNAME}');
31 /* The prefix to add to table names to avoid conflicts with existing */
32 /* tables. Default: AT_ */
33 define('TABLE_PREFIX', '{TABLE_PREFIX}');
35 /* The email that will be used as the return email when needed and when */
36 /* instructor account requests are made. */
37 define('EMAIL', '{EMAIL}');
39 /* do you want to receive emails when new instructor accounts */
40 /* require approval */
41 define('EMAIL_NOTIFY', {EMAIL_NOTIFY});
43 /* allow regular account users to request their account to be */
44 /* upgraded to instructor accounts. */
45 define('ALLOW_INSTRUCTOR_REQUESTS', {INSTRUCTOR_REQUESTS});
47 /* If ALLOW_INSTRUCTOR_REQUESTS is true then you can have the */
48 /* requests approved instantly, otherwise each request will */
49 /* have to be approved manually by the admin. */
50 define('AUTO_APPROVE_INSTRUCTORS', {APPROVE_INSTRUCTORS});
52 /************************************************************************/
53 /* File manager options: */
55 /* Default maximum allowable file size in Bytes to upload: */
56 /* Will not override the upload_max_filesize in php.ini */
57 $MaxFileSize = {MAX_FILE_SIZE}; /* 1 MB */
59 /* Default total maximum allowable course size in Bytes: */
60 /* When this number is exceeded, no more uploads will be allowed */
61 $MaxCourseSize = {MAX_COURSE_SIZE}; /* 10 MB */
63 /* Soft limit threshold: */
64 /* How much a course can be over, while still allowing the */
65 /* upload to finish. */
66 /* Therefore the real course limit is */
67 /* \$MaxCourseSize + \$MaxCourseFloat, but when the float gets */
68 /* used then no more uploads will be allowed. */
69 $MaxCourseFloat = {MAX_COURSE_FLOAT}; /* 2 MB */
71 /* Illegal file types, by extension. Include any extensions */
72 /* you do not want to allow for uploading. (Just the extention */
73 /* without the leading dot.) */
74 $IllegalExtentions = array({ILL_EXT});
76 /* The name of your course website. */
77 /* Example: Acme University's Course Server */
78 /* Single quotes will have to be escaped with a slash: \'. */
79 define('SITE_NAME', '{SITE_NAME}');
81 /* link for the 'home' menu item. Will not show if empty */
82 define('HOME_URL', '{HOME_URL}');
84 /* Default language to use, if not browser-defined or */
85 /* user-defined. 'en' is always available. Any other language */
86 /* specified must already exist in the database. */
87 /* Default language: en */
88 define('DEFAULT_LANGUAGE', '{DEFAULT_LANGUAGE}');
90 /* Where the cache directory should be created. On a Windows */
91 /* machine the path should look like C:\Windows\temp\. Path */
92 /* must end in a slash. The directory must already exist. */
93 /* Make empty or comment out to disable cacheing. */
94 /* Back slashes must be escaped if at the end: ex: ..tmp\\'); */
95 define('CACHE_DIR', '{CACHE_DIR}');
97 /* Where the course content files are located. This includes all file */
98 /* manager and imported files. If security is a concern, it is */
99 /* recommended that the content directory be moved outside of the web */
100 /* accessible area. */
101 define('AT_CONTENT_DIR', '{CONTENT_DIR}');
103 /* Whether or not to use the default php.ini SMTP settings. */
104 /* If false, then mail will try to be sent using sendmail. */
105 define('MAIL_USE_SMTP', {MAIL_USE_SMTP});
107 /* Whether or not to enable theme specific categories and disable the */
108 /* personal theme preference. */
109 define('AT_ENABLE_CATEGORY_THEMES', {THEME_CATEGORIES});
111 /* How many backup files can be stored per course. */
112 define('AT_COURSE_BACKUPS', {COURSE_BACKUPS});
114 /* Whether or not to require email confirmation to validate accounts */
115 define('AT_EMAIL_CONFIRMATION', {EMAIL_CONFIRMATION});
117 /* Whether or not to enable master list authentication. */
118 /* If enabled, only new accounts that validate against the master list */
119 /* will be created. The master list is flexible and can be used for any */
121 define('AT_MASTER_LIST', {MASTER_LIST});
123 /* Whether or not to show the ongoing tests box on the home page. */
124 /* Default: TRUE (on) */
125 define('AT_SHOW_TEST_BOX', TRUE);
127 /* Whether or not to use the AT_CONTENT_DIR as a protected directory. */
128 /* The if set to FALSE then the content directory will be hard coded */
129 /* to ATutor_install_dir/content/ and AT_CONTENT_DIR will be ignored. */
130 /* This option is used for compatability with IIS and Apache 2. */
131 define('AT_FORCE_GET_FILE', {GET_FILE});
133 /* Whether or not to allow user notes in the handbook. */
134 define('AT_ENABLE_HANDBOOK_NOTES', {USER_NOTES});
136 /* DO NOT ALTER THIS LAST LINE */
137 define('AT_INSTALL', true);