This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | #------------------------------------------------------------------------------- |
||
4 | # |
||
5 | # eTraxis - Records tracking web-based system |
||
6 | # Copyright (C) 2003-2011 Artem Rodygin |
||
7 | # |
||
8 | # This program is free software: you can redistribute it and/or modify |
||
9 | # it under the terms of the GNU General Public License as published by |
||
10 | # the Free Software Foundation, either version 3 of the License, or |
||
11 | # (at your option) any later version. |
||
12 | # |
||
13 | # This program is distributed in the hope that it will be useful, |
||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
16 | # GNU General Public License for more details. |
||
17 | # |
||
18 | # You should have received a copy of the GNU General Public License |
||
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
||
20 | # |
||
21 | #------------------------------------------------------------------------------- |
||
22 | |||
23 | /** |
||
24 | * Instance configuration |
||
25 | * |
||
26 | * This module contains settings of eTraxis instance, which are required to be updated for |
||
27 | * particular installation. |
||
28 | * |
||
29 | * @package Engine |
||
30 | */ |
||
31 | |||
32 | #------------------------------------------------------------------------------- |
||
33 | # Location |
||
34 | #------------------------------------------------------------------------------- |
||
35 | |||
36 | /**#@+ |
||
37 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/Install#step-4-configure-etraxis online documentation} for details. |
||
38 | */ |
||
39 | define('WEBROOT', 'http://www.example.com/etraxis/'); |
||
40 | /**#@-*/ |
||
41 | |||
42 | #------------------------------------------------------------------------------- |
||
43 | # Database |
||
44 | #------------------------------------------------------------------------------- |
||
45 | |||
46 | /**#@+ |
||
47 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/Install#step-4-configure-etraxis online documentation} for details. |
||
48 | */ |
||
49 | define('DATABASE_DRIVER', 1); |
||
50 | define('DATABASE_HOST', 'localhost'); |
||
51 | define('DATABASE_DBNAME', 'etraxis'); |
||
52 | define('DATABASE_USERNAME', '%'); |
||
53 | define('DATABASE_PASSWORD', ''); |
||
54 | /**#@-*/ |
||
55 | |||
56 | #------------------------------------------------------------------------------- |
||
57 | # Security Options |
||
58 | #------------------------------------------------------------------------------- |
||
59 | |||
60 | /**#@+ |
||
61 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/Security-options online documentation} for details. |
||
62 | */ |
||
63 | define('MIN_PASSWORD_LENGTH', 6); |
||
64 | define('LOCKS_COUNT', 3); |
||
65 | define('LOCKS_TIMEOUT', 30); |
||
66 | define('PASSWORD_EXPIRATION', 90); |
||
67 | define('SESSION_EXPIRE', 120); |
||
68 | /**#@-*/ |
||
69 | |||
70 | #------------------------------------------------------------------------------- |
||
71 | # Localization |
||
72 | #------------------------------------------------------------------------------- |
||
73 | |||
74 | /**#@+ |
||
75 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/Localization online documentation} for details. |
||
76 | */ |
||
77 | define('LANG_DEFAULT', 1000); |
||
78 | /**#@-*/ |
||
79 | |||
80 | #------------------------------------------------------------------------------- |
||
81 | # Customization |
||
82 | #------------------------------------------------------------------------------- |
||
83 | |||
84 | /**#@+ |
||
85 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/Customization online documentation} for details. |
||
86 | */ |
||
87 | define('COMPANY_LOGO', 'images/logo.png'); |
||
88 | define('COMPANY_SITE', 'https://www.etraxis.com/'); |
||
89 | define('THEME_DEFAULT', 'Emerald'); |
||
90 | /**#@-*/ |
||
91 | |||
92 | #------------------------------------------------------------------------------- |
||
93 | # Attachments |
||
94 | #------------------------------------------------------------------------------- |
||
95 | |||
96 | /**#@+ |
||
97 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/Attachments online documentation} for details. |
||
98 | */ |
||
99 | define('ATTACHMENTS_ENABLED', 1); |
||
100 | define('ATTACHMENTS_MAXSIZE', 2048); |
||
101 | define('ATTACHMENTS_TOTALSIZE', 0); |
||
102 | define('ATTACHMENTS_COMPRESSED', 1); |
||
103 | define('ATTACHMENTS_PATH', '/usr/local/etraxis/bins/'); |
||
104 | /**#@-*/ |
||
105 | |||
106 | #------------------------------------------------------------------------------- |
||
107 | # Email Notifications |
||
108 | #------------------------------------------------------------------------------- |
||
109 | |||
110 | /**#@+ |
||
111 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/Email-notifications online documentation} for details. |
||
112 | */ |
||
113 | define('EMAIL_NOTIFICATIONS_ENABLED', 1); |
||
114 | define('EMAIL_ATTACHMENTS_MAXSIZE', 0); |
||
115 | /**#@-*/ |
||
116 | |||
117 | #------------------------------------------------------------------------------- |
||
118 | # SMTP Settings |
||
119 | #------------------------------------------------------------------------------- |
||
120 | |||
121 | /**#@+ |
||
122 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/SMTP-settings online documentation} for details. |
||
123 | */ |
||
124 | define('SMTP_SERVER_NAME', 'smtp.example.com'); |
||
125 | define('SMTP_SERVER_PORT', 25); |
||
126 | define('SMTP_SERVER_TIMEOUT', 5); |
||
127 | define('SMTP_USERNAME', ''); |
||
128 | define('SMTP_PASSWORD', ''); |
||
129 | define('SMTP_MAILFROM', '[email protected]'); |
||
130 | define('SMTP_USE_TLS', 0); |
||
131 | /**#@-*/ |
||
132 | |||
133 | #------------------------------------------------------------------------------- |
||
134 | # LDAP Authentication |
||
135 | #------------------------------------------------------------------------------- |
||
136 | |||
137 | /**#@+ |
||
138 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/LDAP-authentication online documentation} for details. |
||
139 | */ |
||
140 | define('LDAP_ENABLED', 0); |
||
141 | define('LDAP_HOST', 'ldap://localhost'); |
||
142 | define('LDAP_PORT', 389); |
||
143 | define('LDAP_USE_TLS', 0); |
||
144 | define('LDAP_BASEDN', 'OU=unit1,DC=example,DC=com; OU=unit2,DC=example,DC=com'); |
||
145 | define('LDAP_USERNAME', ''); |
||
146 | define('LDAP_PASSWORD', ''); |
||
147 | define('LDAP_ATTR_LOGIN', 'samaccountname'); |
||
148 | define('LDAP_ATTR_FULLNAME', 'displayname'); |
||
149 | define('LDAP_ATTR_EMAIL', 'mail'); |
||
150 | define('LDAP_ENUMERATION', 0); |
||
151 | define('LDAP_ADMINS', 'Administrator'); |
||
152 | /**#@-*/ |
||
153 | |||
154 | #------------------------------------------------------------------------------- |
||
155 | # Maintenance |
||
156 | #------------------------------------------------------------------------------- |
||
157 | |||
158 | /**#@+ |
||
159 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/Maintenance online documentation} for details. |
||
160 | */ |
||
161 | define('MAINTENANCE_BANNER', 0); |
||
162 | define('MAINTENANCE_START_DATE', '1980-01-01'); |
||
163 | define('MAINTENANCE_START_TIME', '00:00'); |
||
164 | define('MAINTENANCE_FINISH_DATE', '2037-12-31'); |
||
165 | define('MAINTENANCE_FINISH_TIME', '00:00'); |
||
166 | /**#@-*/ |
||
167 | |||
168 | #------------------------------------------------------------------------------- |
||
169 | # Debug Logging |
||
170 | #------------------------------------------------------------------------------- |
||
171 | |||
172 | /**#@+ |
||
173 | * See {@link https://github.com/etraxis/etraxis-obsolete/wiki/Debug-logging online documentation} for details. |
||
174 | */ |
||
175 | define('DEBUG_MODE', 0); |
||
176 | define('DEBUG_LOGS', '/usr/local/etraxis/logs/'); |
||
177 | /**#@-*/ |
||
178 | |||
179 | #------------------------------------------------------------------------------- |
||
180 | # Restrictions |
||
181 | #------------------------------------------------------------------------------- |
||
182 | |||
183 | /**#@+ |
||
184 | * @ignore |
||
185 | */ |
||
186 | define('MAX_ACCOUNTS_NUMBER', 0); |
||
187 | define('MAX_TEMPLATES_NUMBER', 0); |
||
188 | /**#@-*/ |
||
189 | |||
190 | ?> |
||
0 ignored issues
–
show
|
|||
191 |
Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.
A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.