forked from emoncms/emoncms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.settings.php
62 lines (40 loc) · 1.21 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
<?php
/*
Database connection settings
*/
$username = "";
$password = "";
$server = "localhost";
$database = "";
/*
Core menu settings
*/
$menu_right = array();
$menu_right[] = array('name'=>"Admin", 'path'=>"admin/view" , 'session'=>"admin");
$menu_right[] = array('name'=>"Account", 'path'=>"user/view" , 'session'=>"write");
$menu_right[] = array('name'=>"Logout", 'path'=>"user/logout" , 'session'=>"write");
/*
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;
// Skip database setup test - set to false once database has been setup.
$dbtest = true;
?>