4 * http://opencaps.atrc.utoronto.ca
\r
6 * Copyright 2009 Heidi Hazelton
\r
7 * Adaptive Technology Resource Centre, University of Toronto
\r
9 * Licensed under the Educational Community License (ECL), Version 2.0.
\r
10 * You may not use this file except in compliance with this License.
\r
11 * http://www.opensource.org/licenses/ecl2.php
\r
15 /* edit with correct values and copy to /include/config.inc.php */
\r
18 /* general config */
\r
19 define('MAX_FILE_SIZE', '10485760'); //10M
\r
20 define('DISABLE_LOCAL', true);
\r
21 define('ACTIVE_SYSTEM', '1');
\r
24 define('DB_USER', '');
\r
25 define('DB_PASSWORD', '');
\r
26 define('DB_HOST', 'localhost');
\r
27 define('DB_PORT', '3306');
\r
28 define('DB_NAME', 'opencaps');
\r
29 define('ACTIVE_SYSTEM', '1');
\r
30 define('MODULE_MODE_ON', true);
\r
31 define('OC_DEBUG_MODE_ON', false);
\r
36 if(!isset($_SESSION['atutor_base_url']))
\r
38 if(isset($_GET['athome']) && $_GET['athome']!='')
\r
40 $_SESSION['atutor_base_url'] = $_GET['athome'];
\r
42 $_SESSION['atutor_base_url'] = '';
\r
45 $systems[1]['url'] = $_SESSION['atutor_base_url'].'/mods/AtOpenCaps/service.php';
\r
46 $systems[1]['name'] = 'atutor';
\r
47 $systems[1]['type'] = 'atutor';
\r