Page 1 of 1

Solved:Make .log files viewable in BT (like .patch & .diff)

Posted: 12 Aug 2015, 12:13
by Kunda
When attaching .diff or .patch to a mantisbt report one can click on 'view' and observe the file w/out needing to d/l it. How can that functionality be extended to another extension, say .log for example ?

Re: how to make .log files viewable in BT (like .patch & .di

Posted: 12 Aug 2015, 13:37
by atrol
Add the follwoing line to file config_inc.php

Code: Select all

$g_preview_text_extensions = array( '', 'txt', 'diff', 'patch' , 'log' );

Re: Solved:Make .log files viewable in BT (like .patch & .di

Posted: 12 Aug 2015, 16:12
by Kunda
Thanks! Marked as 'Solved'