/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
In order to modify the types of statuses in use for Mantis add the following items to these files: to a new file in root called: custom_constants_inc.php <?php ?> To a second new file in root called: custom_string_inc.php <?php $s_status_enum_string ='10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned, 60:pending, 65:vendor, 70: deferred, 80:resolved,90:closed'; $s_pending_bug_button ="Pending"; $s_pending_bug_title = "Set Issue Pending"; $s_email_notification_title_for_status_bug_pending ="The following issue is Pending."; $s_vendor_bug_button ="Vendor"; $s_vendor_bug_title = "Set Issue for Vendor Resolution"; $s_email_notification_title_for_status_bug_vendor ="The following issue needs to be submitted to the vendor."; $s_deferred_bug_button ="Deferred"; $s_deferred_bug_title = "Set Issue to Deferred"; $s_email_notification_title_for_status_bug_deferred ="The following issue is Deferred."; ?> In config_inc.php in root: <?php $g_status_enum_string ='10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned, 60:pending, 65:vendor, 70:deferred, 80:resolved,90:closed'; # Status color additions $g_status_colors['pending'] = '#ACE7AE'; $g_status_colors['vendor'] = '#ACE7AE'; $g_status_colors['deferred'] = '#ACE7AE'; ?> To upload files into mantis change three files and restart mysql and web server: in config_inc.php in mantis root add: $g_max_file_size = 8000000; # 8 MB In my.ini for mysql add: #Allow for upload size max_allowed_packet=8M in php.ini add: ; Maximum size of POST data that PHP will accept. ; http://php.net/post-max-size post_max_size = 8M
Comments
