-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.inc.php
183 lines (164 loc) · 6.77 KB
/
config.inc.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<?php
//
// ACHIEVO CONFIGURATION FILE
//
// Change this file to fit your needs before using Achievo.
//
// This file should be used for global configurations. Module-specific
// configurations should be placed in configs/modulename.inc.php files
//
// -------------------------------------------
// DATABASE CONFIGURATION
// -------------------------------------------
// MySQL is the only officially supported DBMS with the mysqli driver
// (the mysql driver is also provided). PostgreSQL (pgsql) and Oracle
// (oci8) drivers are also provided, but are not officially supported.
//
// $config_db["default"]["host"] = "localhost";
// $config_db["default"]["db"] = "dbname";
// $config_db["default"]["user"] = "username";
// $config_db["default"]["password"] = "password";
// $config_db["default"]["charset"] = "utf8";
// $config_db["default"]["collate"] = "utf8_general_ci";
// system database
$config_db["default"]["driver"] = "mysqli";
$config_db["default"]["host"] = "localhost";
$config_db["default"]["db"] = "achievo";
$config_db["default"]["user"] = "achievo";
$config_db["default"]["password"] = "achievo";
$config_db["default"]["charset"] = "utf8";
$config_db["default"]["collate"] = "utf8_general_ci";
// -------------------------------------------
// LAYOUT CONFIGURATION
// -------------------------------------------
// In admin pages, Achievo shows you a number of records with previous and
// next buttons. You can specify the number of records to show on a page.
//
$config_recordsperpage = 25;
// The theme defines the layout of Achievo. You can see which
// themes there are in the directory themes. Users can choose their own
// theme in the user preferences section.
//
$config_defaulttheme = "steelblue";
// The language of the application. You can use any language for which
// a language file is present in the languages directory.
//
$config_language = "en";
// The menu to use (For older themes this is 'achievo', for newer this
// is 'achievo_modern'
$config_menu_layout = "modern";
// This variable determines whether all manytoone dropdowns should have
// the auto-completion feature (instead of dropdowns)
//
$config_manytoone_autocomplete_default = false;
// -------------------------------------------
// SECURITY CONFIGURATION
// -------------------------------------------
// The method to use for user/password validation.
// Currently supported are:
// - "db" : the passwords are stored in the Achievo database.
// - "pop3": the passwords are validated against a pop3 server.
// Note that if you validate passwords using pop3, you still have to add
// useraccounts in Achievo. If you don't, users can login, but won't
// have permission to do anything.
//
$config_authentication = "db";
// If you set $config_authentication to "pop3", you must configure
// which server to use:
//
$config_auth_mail_server = "localhost";
// The Achievo administrator password.
// Regardless of the authentication method chosen above, this password
// will always allow you to login with userid 'administrator'. This is
// useful when you have an empty or corrupt database.
// Note that it has no effect when you use the 'user preferences' screen
// to change the administrator password, since the administrator password
// is fixed in this file.
//
// Note: As an extra security measure you could disable this once you have
// set up the entire system and enable it only when you need it.
// (disable it by putting // in front of it)
//
$config_administratorpassword = "demo";
// If you set $config_auth_dropdown to true, the login screen will contain
// a list of available usernames. If you set it to false, there will be
// an input box to manually enter the userid. Use the dropdown only if
// the number of users is small.
//
$config_auth_dropdown = false;
// As an extra security measure to prevent session highjacking, Achievo
// will regenerate it's session id on each hit. This does not work
// properly on some (usually older) PHP installations. If you experience
// login trouble, set the next value to false.
//
$config_session_regenerate = false;
// -------------------------------------------
// MAIL CONFIGURATION
// -------------------------------------------
// Achievo can send out notifications and reminders to users. The
// default sender for these mails is 'achievo@domain_of_your_server'.
// Sometimes users will reply to these mails, so it's better to change
// this to the mail address of the administrator or human resource manager.
// Example: $config_mail_sender = "[email protected]".
// If you leave out the @domain part, the domainname of the server is
// appended automatically.
//
$config_mail_sender = "achievo";
// -------------------------------------------
// PROJECT MODULE
// -------------------------------------------
// This variable indicates whether contacts in the project module
// are obligatory
//
$config_project_contact_obligatory = false;
// Use auto-completion for project selection?
//
$config_project_selection_autocomplete = false;
// Fill this config with a path relative to the achievo directory. When you
// add a project, the skel will be copied to the destination directory (also
// relative to the achievo directory), and an email will be sent when the skel
// is copied.
//
// To disable this feature, leave the dir_skel and dir_destination configs empty.
// See also atk/utils/class.atkfileutils.inc function atkCopyDirRec
//
$config_project_dir_skel = '';
$config_project_dir_destination = '';
// You can specify which field of the project node you want to use for the
// directoryname.
//
$config_project_dir_name_template = '[abbreviation]';
$config_project_formatmail = 'html';
$config_project_sendto = '[email protected]';
// -------------------------------------------
// DOCMANAGER MODULE
// -------------------------------------------
// To add docmanager to other nodes, add the node and file location here
$config_docmanageroptions = array(
"project.project" => array("dir" => "./documents/project/", "url" => "documents/project/"),
"quotation.quotation" => array("dir" => "./documents/quotations/", "url" => "documents/quotations/"),
);
// -------------------------------------------
// GENERAL SETTINGS
// -------------------------------------------
// Startday is
// 6 = saturday
// 0 = sunday
// 1 = monday (ISO)
// 3 = wednesday
//
$config_startday = 1;
// First week contains has 3 valid options
// 1 = Starts on 1 january
// 4 = First week with 4 days (ISO)
// 7 = First full week
//
$config_firstweekcontains = 4;
// -------------------------------------------
// END OF CONFIGURATION
// -------------------------------------------
// Leave this line in place, it configures the ATK backend. Also,
// do not edit the atkconf.inc file since that would break Achievo.
//
include "atkconf.inc";
?>