-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsettings_default.php
More file actions
74 lines (59 loc) · 1.48 KB
/
settings_default.php
File metadata and controls
74 lines (59 loc) · 1.48 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?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);
// Require authkey for access per library code
define('OPENLIST_REQUIRE_AUTHKEY', TRUE);
/**
* IP filter used by the IPAccess module.
*/
$ip_access = array(
// IP => NAME.
);
/**
* List of allowed library codes.
*/
$library_codes = array(
// CODE => NAME.
);