Gossamer Forum
Home : Products : Others : Fileman :

setting Text mode as default in Fileman2(final)

Quote Reply
setting Text mode as default in Fileman2(final)
As the default, Fileman 2(final) open *.html in HTML mode. Does anybody know how to modify Fileman 2 so that Text mode is used when open *.html/htm? (like Fileman 2 beta)

Thanks in advance, HN
Quote Reply
Re: [hnsec] setting Text mode as default in Fileman2(final) In reply to
Hi,

Just remove the command below in cmd_edit subroutine of Command.pm
$use_html = 1 if ($browser and (($ext eq 'html') or ($ext eq 'htm')) and !defined $use_html); #should show HTML mode

Cheers,

TheStone.

B.