forked from emoncms/emoncms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.settings.php
109 lines (79 loc) · 2.81 KB
/
default.settings.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?php
/*
Database connection settings
*/
$username = "_DB_USER_";
$password = "_DB_PASSWORD_";
$server = "localhost";
$database = "emoncms";
$redis_enabled = true;
// Enable this to try out the experimental MQTT Features:
// - updated to feeds are published to topic: emoncms/feed/feedid
$mqtt_enabled = false;
$feed_settings = array(
'enable_mysql_all'=>true,
'timestore'=>array(
'adminkey'=>"_TS_ADMINKEY_"
),
'graphite'=>array(
'port'=>0,
'host'=>0
),
// The default data directory is /var/lib/phpfiwa,phpfina,phptimeseries on windows or shared hosting you will likely need to specify a different data directory.
// Make sure that emoncms has write permission's to the datadirectory folders
'phpfiwa'=>array(
'datadir'=>'/var/lib/phpfiwa/'
),
'phpfina'=>array(
'datadir'=>'/var/lib/phpfina/'
),
'phptimeseries'=>array(
'datadir'=>'/var/lib/phptimeseries/'
),
'phptimestore'=>array(
'datadir'=>'/var/lib/phptimestore/'
)
);
// (OPTIONAL) Used by password reset feature
$smtp_email_settings = array(
'host'=>"_SMTP_HOST_",
'username'=>"_SMTP_USER_",
'password'=>"_SMTP_PASSWORD_",
'from'=>array('_SMTP_EMAIL_ADDR_' => '_SMTP_EMAIL_NAME_')
);
// To enable / disable password reset set to either true / false
// default value of " _ENABLE_PASSWORD_RESET_ " required for .deb only
// uncomment 1 of the 2 following lines & comment out the 3rd line.
// $enable_password_reset = true;
// $enable_password_reset = false;
$enable_password_reset = false;
// Checks for limiting garbage data?
$max_node_id_limit = 32;
/*
Default router settings - in absence of stated path
*/
// Default controller and action if none are specified and user is anonymous
$default_controller = "user";
$default_action = "login";
// Default controller and action if none are specified and user is logged in
$default_controller_auth = "user";
$default_action_auth = "view";
// Public profile functionality
$public_profile_enabled = TRUE;
$public_profile_controller = "dashboard";
$public_profile_action = "view";
/*
Other
*/
// Theme location
$theme = "basic";
// Error processing
$display_errors = TRUE;
// Allow user register in emoncms
$allowusersregister = TRUE;
// Enable remember me feature - needs more testing
$enable_rememberme = TRUE;
// Skip database setup test - set to false once database has been setup.
$dbtest = TRUE;
// Log4PHP configuration
$log4php_configPath = 'logconfig.xml';