forked from mantisbt/mantisbt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_defaults_inc.php
3962 lines (3465 loc) · 115 KB
/
config_defaults_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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
# MantisBT - a php based bugtracking system
# MantisBT is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# MantisBT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
/**
* Default Configuration Variables
*
* This file should not be changed. If you want to override any of the values
* defined here, define them in a file called config_inc.php, which will
* be loaded after this file.
*
* In general a value of OFF means the feature is disabled and ON means the
* feature is enabled. Any other cases will have an explanation.
*
* For more details see http://www.mantisbt.org/docs/master-1.2.x/
*
* @package MantisBT
* @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - [email protected]
* @copyright Copyright (C) 2002 - 2013 MantisBT Team - [email protected]
* @link http://www.mantisbt.org
*/
/******************************
* MantisBT Database Settings *
******************************/
/**
* hostname should be either a hostname or connection string to supply to adodb.
* For example, if you would like to connect to a database server on the local machine,
* set hostname to 'localhost'
* If you need to supply a port to connect to, set hostname as 'localhost:3306'.
* @global string $g_hostname
*/
$g_hostname = 'localhost';
/**
* User name to use for connecting to the database. The user needs to have read/write access to the MantisBT database.
* The default user name is "root".
* @global string $g_db_username
*/
$g_db_username = 'root';
/**
* Password for the specified user name. The default password is empty.
* @global string $g_db_password
*/
$g_db_password = '';
/**
* Name of database that contains MantisBT tables.
* The default database name is "bugtracker".
* @global string $g_database_name
*/
$g_database_name = 'bugtracker';
/**
* Database Schema Name - used in the case of db2.
* @global string $g_db_schema
*/
$g_db_schema = '';
/**
* Defines the database type. The supported default is 'mysql'.
* Supported types: 'mysql' or 'mysqli' for MySQL, 'pgsql' for PostgreSQL,
* 'odbc_mssql', 'mssql' for MS SQL Server, 'oci8' for Oracle, and 'db2' for DB2.
* @global string $g_db_type
*/
$g_db_type = 'mysql';
/**************************
* MantisBT Path Settings *
**************************/
$t_protocol = 'http';
$t_host = 'localhost';
if ( isset ( $_SERVER['SCRIPT_NAME'] ) ) {
if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) ) {
$t_protocol= $_SERVER['HTTP_X_FORWARDED_PROTO'];
} else if ( !empty( $_SERVER['HTTPS'] ) && ( strtolower( $_SERVER['HTTPS'] ) != 'off' ) ) {
$t_protocol = 'https';
}
# $_SERVER['SERVER_PORT'] is not defined in case of php-cgi.exe
if ( isset( $_SERVER['SERVER_PORT'] ) ) {
$t_port = ':' . $_SERVER['SERVER_PORT'];
if ( ( ':80' == $t_port && 'http' == $t_protocol )
|| ( ':443' == $t_port && 'https' == $t_protocol )) {
$t_port = '';
}
} else {
$t_port = '';
}
if ( isset( $_SERVER['HTTP_X_FORWARDED_HOST'] ) ) { // Support ProxyPass
$t_hosts = explode( ',', $_SERVER['HTTP_X_FORWARDED_HOST'] );
$t_host = $t_hosts[0];
} else if ( isset( $_SERVER['HTTP_HOST'] ) ) {
$t_host = $_SERVER['HTTP_HOST'];
} else if ( isset( $_SERVER['SERVER_NAME'] ) ) {
$t_host = $_SERVER['SERVER_NAME'] . $t_port;
} else if ( isset( $_SERVER['SERVER_ADDR'] ) ) {
$t_host = $_SERVER['SERVER_ADDR'] . $t_port;
}
$t_self = trim( str_replace( "\0", '', $_SERVER['SCRIPT_NAME'] ) );
$t_path = str_replace( basename( $t_self ), '', $t_self );
switch( basename( $t_path ) ) {
case 'admin':
$t_path = rtrim( dirname( $t_path ), '/\\' ) . '/';
break;
case 'soap':
$t_path = rtrim( dirname( dirname( $t_path ) ), '/\\' ) . '/';
break;
case '':
$t_path = '/';
break;
}
if ( strpos( $t_path, '&#' ) ) {
echo 'Can not safely determine $g_path. Please set $g_path manually in config_inc.php';
die;
}
} else {
$t_path = 'mantisbt/';
}
/**
* path to your installation as seen from the web browser
* requires trailing /
* @global string $g_path
*/
$g_path = $t_protocol . '://' . $t_host . $t_path;
/**
* path to your images directory (for icons)
* requires trailing /
* @global string $g_icon_path
*/
$g_icon_path = '%path%images/';
/**
* Short web path without the domain name
* requires trailing /
* @global string $g_short_path
*/
$g_short_path = $t_path;
/**
* absolute path to your installation. Requires trailing / or \
* @global string $g_absolute_path
*/
$g_absolute_path = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
/**
* absolute patch to your core files. The default is usually OK,
* unless you moved the 'core' directory out of your webroot (recommended).
* @global string $g_core_path
*/
$g_core_path = $g_absolute_path . 'core' . DIRECTORY_SEPARATOR;
/**
* absolute path to class files. Requires trailing / or \
* @global string $g_class_path
*/
$g_class_path = $g_core_path . 'classes' . DIRECTORY_SEPARATOR;
/**
* Used to link to manual for User Documentation.
* @global string $g_manual_url
*/
$g_manual_url = 'http://www.mantisbt.org/docs/master-1.2.x/';
/**************
* Web Server *
**************/
if ( isset( $_SERVER['SERVER_SOFTWARE'] ) ) { // SERVER_SOFTWARE not defined in case of php-cgi.exe
$t_use_iis = ( strstr( $_SERVER['SERVER_SOFTWARE'], 'IIS' ) !== false ) ? ON : OFF;
} else {
$t_use_iis = OFF;
}
/**
* Using Microsoft Internet Information Server (IIS)
* ON or OFF
* @global int $g_use_iis
*/
$g_use_iis = $t_use_iis;
/**
* Session handler. Possible values:
* 'php' -> Default PHP filesystem sessions
* 'adodb' -> Database storage sessions
* 'memcached' -> Memcached storage sessions
* @global string $g_session_handler
*/
$g_session_handler = 'php';
/**
* Session key name. Should be unique between multiple installations to prevent conflicts.
* @global string $g_session_key
*/
$g_session_key = 'MantisBT';
/**
* Session save path. If false, uses default value as set by session handler.
* @global bool $g_session_save_path
*/
$g_session_save_path = false;
/**
* Session validation
* WARNING: Disabling this could be a potential security risk!!
* @global int $g_session_validation
*/
$g_session_validation = ON;
/**
* Form security validation.
* This protects against Cross-Site Request Forgery, but some proxy servers may
* not correctly work with this option enabled because they cache pages incorrectly.
* WARNING: Disabling this IS a security risk!!
*/
$g_form_security_validation = ON;
/****************************
* Signup and Lost Password *
****************************/
/**
* Allow users to signup for their own accounts.
* If ON, then $g_send_reset_password must be ON as well, and mail settings
* must be correctly configured
* @see $g_send_reset_password
* @global int $g_allow_signup
*/
$g_allow_signup = ON;
/**
* Max. attempts to login using a wrong password before lock the account.
* When locked, it's required to reset the password (lost password)
* Value resets to zero at each successfully login
* Set to OFF to disable this control
* @global int $g_max_failed_login_count
*/
$g_max_failed_login_count = OFF;
/**
* access level required to be notified when a new user has been created using the "signup form"
* @global int $g_notify_new_user_created_threshold_min
*/
$g_notify_new_user_created_threshold_min = ADMINISTRATOR;
/**
* If ON, users will be sent their password when their account is created
* or password reset (this requires mail settings to be correctly configured).
* If OFF, then the Administrator will have to provide a password when
* creating new accounts, and the password will be set to blank when reset.
* @global int $g_send_reset_password
*/
$g_send_reset_password = ON;
/**
* String used to generate the confirm_hash for the 'lost password' feature and captcha code for 'signup'
* ATTENTION: CHANGE IT TO WHATEVER VALUE YOU PREFER
* @global int $g_password_confirm_hash_magic_string
* @todo randomize + admin check
*/
$g_password_confirm_hash_magic_string = 'blowfish';
/**
* use captcha image to validate subscription it requires GD library installed
* @global int $g_signup_use_captcha
*/
$g_signup_use_captcha = ON;
/**
* absolute path (with trailing slash!) to folder which contains your TrueType-Font files
* used to create the captcha image and since 0.19.3 for the Relationship Graphs
* @global string $g_system_font_folder
*/
$g_system_font_folder = '';
/**
* font name used to create the captcha image. i.e. arial.ttf
* (the font file has to exist in the system_font_folder)
* @global string $g_font_per_captcha
*/
$g_font_per_captcha = 'arial.ttf';
/**
* Setting to disable the 'lost your password' feature.
* @global int $g_lost_password_feature
*/
$g_lost_password_feature = ON;
/**
* Max. simultaneous requests of 'lost password'
* When this value is reached, it's no longer possible to request new password reset
* Value resets to zero at each successfully login
* @global int $g_max_lost_password_in_progress_count
*/
$g_max_lost_password_in_progress_count = 3;
/***************************
* MantisBT Email Settings *
***************************/
/**
* Administrator Email address
* @global string $g_administrator_email
*/
$g_administrator_email = '[email protected]';
/**
* Webmaster email
* @global string $g_webmaster_email
*/
$g_webmaster_email = '[email protected]';
/**
* the sender email, part of 'From: ' header in emails
* @global string $g_from_email
*/
$g_from_email = '[email protected]';
/**
* the sender name, part of 'From: ' header in emails
* @global string $g_from_name
*/
$g_from_name = 'Mantis Bug Tracker';
/**
* the return address for bounced mail
* @global string $g_return_path_email
*/
$g_return_path_email = '[email protected]';
/**
* Allow email notification.
* Set to ON to enable email notifications, OFF to disable them. Note that
* disabling email notifications has no effect on emails generated as part
* of the user signup process. When set to OFF, the password reset feature
* is disabled. Additionally, notifications of administrators updating
* accounts are not sent to users.
* @global int $g_enable_email_notification
*/
$g_enable_email_notification = ON;
/**
* The following two config options allow you to control who should get email
* notifications on different actions/statuses. The first option (default_notify_flags)
* sets the default values for different user categories. The user categories
* are:
*
* 'reporter': the reporter of the bug
* 'handler': the handler of the bug
* 'monitor': users who are monitoring a bug
* 'bugnotes': users who have added a bugnote to the bug
* 'explicit': users who are explicitly specified by the code based on the action (e.g. user added to monitor list).
* 'threshold_max': all users with access <= max
* 'threshold_min': ..and with access >= min
*
* The second config option (notify_flags) sets overrides for specific actions/statuses.
* If a user category is not listed for an action, the default from the config
* option above is used. The possible actions are:
*
* 'new': a new bug has been added
* 'owner': a bug has been assigned to a new owner
* 'reopened': a bug has been reopened
* 'deleted': a bug has been deleted
* 'updated': a bug has been updated
* 'bugnote': a bugnote has been added to a bug
* 'sponsor': sponsorship has changed on this bug
* 'relation': a relationship has changed on this bug
* 'monitor': an issue is monitored.
* '<status>': eg: 'resolved', 'closed', 'feedback', 'acknowledged', ...etc.
* this list corresponds to $g_status_enum_string
*
* If you wanted to have all developers get notified of new bugs you might add
* the following lines to your config file:
*
* $g_notify_flags['new']['threshold_min'] = DEVELOPER;
* $g_notify_flags['new']['threshold_max'] = DEVELOPER;
*
* You might want to do something similar so all managers are notified when a
* bug is closed. If you didn't want reporters to be notified when a bug is
* closed (only when it is resolved) you would use:
*
* $g_notify_flags['closed']['reporter'] = OFF;
*
* @global array $g_default_notify_flags
*/
$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'explicit' => ON,
'threshold_min' => NOBODY,
'threshold_max' => NOBODY);
/**
* We don't need to send these notifications on new bugs
* (see above for info on this config option)
* @todo (though I'm not sure they need to be turned off anymore
* - there just won't be anyone in those categories)
* I guess it serves as an example and a placeholder for this
* config option
* @see $g_default_notify_flags
* @global array $g_notify_flags
*/
$g_notify_flags['new'] = array('bugnotes' => OFF,
'monitor' => OFF);
$g_notify_flags['monitor'] = array( 'reporter' => OFF,
'handler' => OFF,
'monitor' => OFF,
'bugnotes' => OFF,
'explicit' => ON,
'threshold_min' => NOBODY,
'threshold_max' => NOBODY);
/**
* Whether user's should receive emails for their own actions
* @global int $g_email_receive_own
*/
$g_email_receive_own = OFF;
/**
* set to OFF to disable email check
* @global int $g_validate_email
*/
$g_validate_email = ON;
/**
* set to OFF to disable email check
* @global int $g_check_mx_record
*/
$g_check_mx_record = OFF;
/**
* if ON, allow the user to omit an email field
* note if you allow users to create their own accounts, they
* must specify an email at that point, no matter what the value
* of this option is. Otherwise they wouldn't get their passwords.
* @global int $g_allow_blank_email
*/
$g_allow_blank_email = OFF;
/**
* Only allow and send email to addresses in the given domain
* For example:
* $g_limit_email_domain = 'users.sourceforge.net';
* @global string|int $g_limit_email_domain
*/
$g_limit_email_domain = OFF;
/**
* This specifies the access level that is needed to get the mailto: links.
* @global int $g_show_user_email_threshold
*/
$g_show_user_email_threshold = NOBODY;
/**
* This specifies the access level that is needed to see realnames on user view page
* @global int $g_show_user_realname_threshold
*/
$g_show_user_realname_threshold = NOBODY;
/**
* If use_x_priority is set to ON, what should the value be?
* Urgent = 1, Not Urgent = 5, Disable = 0
* Note: some MTAs interpret X-Priority = 0 to mean 'Very Urgent'
* @global int $g_mail_priority
*/
$g_mail_priority = 3;
/**
* select the method to mail by:
* PHPMAILER_METHOD_MAIL - mail()
* PHPMAILER_METHOD_SENDMAIL - sendmail
* PHPMAILER_METHOD_SMTP - SMTP
* @global int $g_phpMailer_method
*/
$g_phpMailer_method = PHPMAILER_METHOD_MAIL;
/**
* This option allows you to use a remote SMTP host. Must use the phpMailer script
* One or more hosts, separated by a semicolon, can be listed.
* You can also specify a different port for each host by using this
* format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com").
* Hosts will be tried in order.
* @global string $g_smtp_host
*/
$g_smtp_host = 'localhost';
/**
* These options allow you to use SMTP Authentication when you use a remote
* SMTP host with phpMailer. If smtp_username is not '' then the username
* and password will be used when logging in to the SMTP server.
* @global string $g_smtp_username
*/
$g_smtp_username = '';
/**
* SMTP Server Authentication password
* @global string $g_smtp_password
*/
$g_smtp_password = '';
/**
* This control the connection mode to SMTP server. Can be 'ssl' or 'tls'
* @global string $g_smtp_connection_mode
*/
$g_smtp_connection_mode = '';
/**
* The smtp port to use. The typical SMTP ports are 25 and 587. The port to use
* will depend on the SMTP server configuration and hence others may be used.
* @global int $g_smtp_port
*/
$g_smtp_port = 25;
/**
* It is recommended to use a cronjob or a scheduler task to send emails.
* The cronjob should typically run every 5 minutes. If no cronjob is used,
* then user will have to wait for emails to be sent after performing an action
* which triggers notifications. This slows user performance.
* @global int $g_email_send_using_cronjob
*/
$g_email_send_using_cronjob = OFF;
/**
* Specify whether e-mails should be sent with the category set or not. This is tested
* with Microsoft Outlook. More testing for this feature + other formats will be added
* in the future.
* OFF, EMAIL_CATEGORY_PROJECT_CATEGORY (format: [Project] Category)
* @global int $g_email_set_category
*/
$g_email_set_category = OFF;
/**
* email separator and padding
* @global string $g_email_separator1
*/
$g_email_separator1 = str_pad('', 70, '=');
/**
* email separator and padding
* @global string $g_email_separator2
*/
$g_email_separator2 = str_pad('', 70, '-');
/**
* email separator and padding
* @global int $g_email_padding_length
*/
$g_email_padding_length = 28;
/***************************
* MantisBT Version String *
***************************/
/**
* Set to off by default to not expose version to users
* @global int $g_show_version
*/
$g_show_version = OFF;
/**
* String appended to the MantisBT version when displayed to the user
* @global string $g_version_suffix
*/
$g_version_suffix = '';
/******************************
* MantisBT Language Settings *
******************************/
/**
* If the language is set to 'auto', the actual
* language is determined by the user agent (web browser)
* language preference.
* @global string $g_default_language
*/
$g_default_language = 'english';
/**
* list the choices that the users are allowed to choose
* @global array $g_language_choices_arr
*/
$g_language_choices_arr = array(
'auto',
'afrikaans',
'amharic',
'arabic',
'arabicegyptianspoken',
'belarusian_tarask',
'breton',
'bulgarian',
'catalan',
'chinese_simplified',
'chinese_traditional',
'croatian',
'czech',
'danish',
'dutch',
'english',
'estonian',
'finnish',
'french',
'galician',
'german',
'greek',
'hebrew',
'hungarian',
'icelandic',
'interlingua',
'italian',
'japanese',
'korean',
'latvian',
'lithuanian',
'macedonian',
'norwegian_bokmal',
'norwegian_nynorsk',
'occitan',
'polish',
'portuguese_brazil',
'portuguese_standard',
'ripoarisch',
'romanian',
'russian',
'serbian',
'serbian_latin',
'slovak',
'slovene',
'spanish',
'swissgerman',
'swedish',
'tagalog',
'turkish',
'ukrainian',
'urdu',
'vietnamese',
'volapuk',
);
/**
* Browser language mapping for 'auto' language selection
* @global array $g_language_auto_map
*/
$g_language_auto_map = array(
'af' => 'afrikaans',
'am' => 'amharic',
'ar' => 'arabic',
'arz' => 'arabicegyptianspoken',
'be, be-tarask' => 'belarusian_tarask',
'bg' => 'bulgarian',
'br' => 'breton',
'ca' => 'catalan',
'zh-cn, zh-sg, zh' => 'chinese_simplified',
'zh-hk, zh-tw' => 'chinese_traditional',
'cs' => 'czech',
'da' => 'danish',
'nl-be, nl' => 'dutch',
'en-us, en-gb, en-au, en' => 'english',
'et' => 'estonian',
'fi' => 'finnish',
'fr-ca, fr-be, fr-ch, fr' => 'french',
'gl' => 'galician',
'gsw' => 'swissgerman',
'de-de, de-at, de-ch, de' => 'german',
'he' => 'hebrew',
'hu' => 'hungarian',
'hr' => 'croatian',
'ia' => 'interlingua',
'is' => 'icelandic',
'it-ch, it' => 'italian',
'ja' => 'japanese',
'ko' => 'korean',
'ksh' => 'ripoarisch',
'lt' => 'lithuanian',
'lv' => 'latvian',
'mk' => 'macedonian',
'no' => 'norwegian_bokmal',
'nn' => 'norwegian_nynorsk',
'oc' => 'occitan',
'pl' => 'polish',
'pt-br' => 'portuguese_brazil',
'pt' => 'portuguese_standard',
'ro-mo, ro' => 'romanian',
'ru-mo, ru-ru, ru-ua, ru' => 'russian',
'sr' => 'serbian',
'sr-el' => 'serbian_latin',
'sk' => 'slovak',
'sl' => 'slovene',
'es-mx, es-co, es-ar, es-cl, es-pr, es' => 'spanish',
'sv-fi, sv' => 'swedish',
'tl' => 'tagalog',
'tr' => 'turkish',
'uk' => 'ukrainian',
'vi' => 'vietnamese',
'vo' => 'volapuk',
);
/**
* Fallback for automatic language selection
* @global string $g_fallback_language
*/
$g_fallback_language = 'english';
/*****************************
* MantisBT Display Settings *
*****************************/
/**
* browser window title
* @global string $g_window_title
*/
$g_window_title = 'MantisBT';
/**
* title at top of html page (empty by default, since there is a logo now)
* @global string $g_page_title
*/
$g_page_title = '';
/**
* Check for admin directory, database upgrades, etc.
* @global int $g_admin_checks
*/
$g_admin_checks = ON;
/**
* Favicon image
* @global string $g_favicon_image
*/
$g_favicon_image = 'images/favicon.ico';
/**
* Logo
* @global string $g_logo_image
*/
$g_logo_image = 'images/mantis_logo.png';
/**
* Logo URL link
* @global string $g_logo_url
*/
$g_logo_url = '%default_home_page%';
/**
* Re-authentication required for admin areas
* @global int $g_reauthentication
*/
$g_reauthentication = ON;
/**
*
* @global int $g_reauthentication_expiry
*/
$g_reauthentication_expiry = TOKEN_EXPIRY_AUTHENTICATED;
/**
* Specifies whether to enable support for project documents or not.
* This feature is deprecated and is expected to be moved to a plugin
* in the future.
* @global int $g_enable_project_documentation
*/
$g_enable_project_documentation = OFF;
/**
* Display another instance of the menu at the bottom. The top menu will still remain.
* @global int $g_show_footer_menu
*/
$g_show_footer_menu = OFF;
/**
* show extra menu bar with all available projects
* @global int $g_show_project_menu_bar
*/
$g_show_project_menu_bar = OFF;
/**
* show assigned to names
* This is in the view all pages
* @global int $g_show_assigned_names
*/
$g_show_assigned_names = ON;
/**
* show priority as icon
* OFF: Shows priority as icon in view all bugs page
* ON: Shows priority as text in view all bugs page
* @global int $g_show_priority_text
*/
$g_show_priority_text = OFF;
/**
* Define the priority level at which a bug becomes significant.
* Significant bugs are displayed with emphasis. Set this value to -1 to
* disable the feature.
* @global int $g_priority_significant_threshold
*/
$g_priority_significant_threshold = HIGH;
/**
* Define the severity level at which a bug becomes significant.
* Significant bugs are displayed with emphasis. Set this value to -1 to
* disable the feature.
* @global int $g_severity_significant_threshold
*/
$g_severity_significant_threshold = MAJOR;
/**
* The default columns to be included in the View Issues Page.
* This can be overriden using Manage -> Manage Configuration -> Manage Columns
* Also each user can configure their own columns using My Account -> Manage Columns
* Some of the columns specified here can be removed automatically if they conflict with other configuration.
* Or if the current user doesn't have the necessary access level to view them.
* For example, sponsorship_total will be removed if sponsorships are disabled.
* To include custom field 'xyz', include the column name as 'custom_xyz'.
*
* Standard Column Names (i.e. names to choose from):
* id, project_id, reporter_id, handler_id, duplicate_id, priority, severity,
* reproducibility, status, resolution, category_id, date_submitted, last_updated,
* os, os_build, platform, version, fixed_in_version, target_version, view_state,
* summary, sponsorship_total, due_date, description, steps_to_reproduce,
* additional_info, attachment_count, bugnotes_count, selection, edit,
* overdue
*
* @global array $g_view_issues_page_columns
*/
$g_view_issues_page_columns = array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment_count', 'category_id', 'severity', 'status', 'last_updated', 'summary' );
/**
* The default columns to be included in the Print Issues Page.
* This can be overriden using Manage -> Manage Configuration -> Manage Columns
* Also each user can configure their own columns using My Account -> Manage Columns
* @global array $g_print_issues_page_columns
*/
$g_print_issues_page_columns = array ( 'selection', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment_count', 'category_id', 'severity', 'status', 'last_updated', 'summary' );
/**
* The default columns to be included in the CSV export.
* This can be overriden using Manage -> Manage Configuration -> Manage Columns
* Also each user can configure their own columns using My Account -> Manage Columns
* @global array $g_csv_columns
*/
$g_csv_columns = array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity', 'reproducibility', 'version', 'projection', 'category_id', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version' );
/**
* The default columns to be included in the Excel export.
* This can be overriden using Manage -> Manage Configuration -> Manage Columns
* Also each user can configure their own columns using My Account -> Manage Columns
* @global array $g_excel_columns
*/
$g_excel_columns = array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity', 'reproducibility', 'version', 'projection', 'category_id', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version' );
/**
* show projects when in All Projects mode
* @global int $g_show_bug_project_links
*/
$g_show_bug_project_links = ON;
/**
* Position of the status colour legend, can be: POSITION_*
* see constant_inc.php. (*: TOP , BOTTOM , or BOTH)
* @global int $g_status_legend_position
*/
$g_status_legend_position = STATUS_LEGEND_POSITION_BOTTOM;
/**
* Show a legend with percentage of bug status
* x% of all bugs are new, y% of all bugs are assigned and so on.
* If set to ON it will printed below the status colour legend.
* @global int $g_status_percentage_legend
*/
$g_status_percentage_legend = OFF;
/**
* Position of the filter box, can be: POSITION_*
* POSITION_TOP, POSITION_BOTTOM, or POSITION_NONE for none.
* @global int $g_filter_position
*/
$g_filter_position = FILTER_POSITION_TOP;
/**
* Position of action buttons when viewing issues.
* Can be: POSITION_TOP, POSITION_BOTTOM, or POSITION_BOTH.
* @global int $g_action_button_position
*/
$g_action_button_position = POSITION_BOTTOM;
/**
* show product versions in create, view and update screens
* ON forces display even if none are defined
* OFF suppresses display
* AUTO suppresses the display if there are no versions defined for the project
* @global int $g_show_product_version
*/
$g_show_product_version = AUTO;
/**
* The access level threshold at which users will see the date of release
* for product versions. Dates will be shown next to the product version,
* target version and fixed in version fields. Set this threshold to NOBODY
* to disable the feature.
* @global int $g_show_version_dates_threshold
*/
$g_show_version_dates_threshold = NOBODY;
/**
* show users with their real name or not
* @global int $g_show_realname
*/
$g_show_realname = OFF;
/**
* leave off for now
* @global int $g_differentiate_duplicates
*/
$g_differentiate_duplicates = OFF;
/**
* sorting for names in dropdown lists. If turned on, "Jane Doe" will be sorted with the "D"s
* @global int $g_sort_by_last_name
*/
$g_sort_by_last_name = OFF;
/**
* Show user avatar
*
* The current implementation is based on http://www.gravatar.com
* Users will need to register there the same email address used in this
* MantisBT installation to have their avatar shown.
* Please note: upon registration or avatar change, it takes some time for
* the updated gravatar images to show on sites
*
* The config can be either set to OFF (avatars disabled) or set to a string
* defining the default avatar to be used when none is associated with the
* user's email. Valid values:
* - OFF (default)
* - ON (equivalent to 'identicon')
* - One of Gravatar's defaults (mm, identicon, monsterid, wavatar, retro)
* @link http://en.gravatar.com/site/implement/images/
* - An URL to the default image to be used (for example,
* "http:/path/to/unknown.jpg" or "%path%images/no_avatar.png")
*
* @global int|string $g_show_avatar
* @see $g_show_avatar_threshold
*/
$g_show_avatar = OFF;
/**
* Only users above this threshold will have their avatar shown
* @global int $g_show_avatar_threshold
*/
$g_show_avatar_threshold = DEVELOPER;
/**
* Show release dates on changelog
* @global int $g_show_changelog_dates
*/
$g_show_changelog_dates = ON;
/**
* Show release dates on roadmap
* @global int $g_show_roadmap_dates
*/
$g_show_roadmap_dates = ON;
/**************************
* MantisBT Time Settings *
**************************/
/**
* time for 'permanent' cookie to live in seconds (1 year)
* @global int $g_cookie_time_length
*/
$g_cookie_time_length = 30000000;
/**
* Allow users to opt for a 'permanent' cookie when logging in
* Controls the display of the 'Remember my login in this browser' checkbox
* on the login page
* @see $g_cookie_time_length
* @global int $g_allow_permanent_cookie
*/
$g_allow_permanent_cookie = ON;
/**