-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings_default.php
58 lines (44 loc) · 1.28 KB
/
settings_default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/**
* @file
* Default settings file. Rename to settings.php
*/
define('OPENLIST_ADMIN_GET_PASSWORD', 'asdfxyz');
/**
* Database host.
*/
define('DB_HOST', 'your.host.com');
/**
* Database username.
*/
define('DB_USERNAME', 'openlist');
/**
* Database password.
*/
define('DB_PASSWORD', 'password');
/**
* Database to use.
*/
define('DB_DATABASE', 'databasename');
// --------------------------------------------------------------------
/**
* The local root of the openlist.
*/
define('OPENLIST_ROOT', dirname(__FILE__));
define('OPENLIST_CLASSES_PATH', OPENLIST_ROOT . '/classes');
/**
* Path to the locally saved wsdl file.
*
* This file is used, so we don't have to Autodiscover the class on every
* single request.
*/
define('WSDL_LOCAL_PATH', OPENLIST_ROOT . '/xml/wsdl.xml');
define('MODULES_PATH', OPENLIST_ROOT . '/modules');
define('MODULES_LIST_FILE', MODULES_PATH . '/modules_list.inc');
define('IS_DEVELOPER', isset($_GET['developer']) || (isset($_COOKIE['developer']) && $_COOKIE['developer'] === 'on'));
define('IS_LOCAL', isset($_POST['local']));
// Certain modules may return empty results due to
// sparsity of the result set. In order to fake
// a positive result for testpurposes elsewhere
// this switch does just that.
define('ENABLE_TEST_RESULTS', TRUE);