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

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Kunda
Posts: 9
Joined: 01 Jul 2015, 22:15

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

Post 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 ?
Last edited by Kunda on 12 Aug 2015, 16:12, edited 2 times in total.
atrol
Site Admin
Posts: 8376
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

Add the follwoing line to file config_inc.php

Code: Select all

$g_preview_text_extensions = array( '', 'txt', 'diff', 'patch' , 'log' );
Please use Search before posting and read the Manual
Kunda
Posts: 9
Joined: 01 Jul 2015, 22:15

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

Post by Kunda »

Thanks! Marked as 'Solved'
Post Reply