File extension .txt being added

See all posts See thread Reply

Re: File extension .txt being added new!
by colin, 15 years ago
You need to allow the MIME type for the HTML files:
$newmenu->no_script = false;
$newmenu->allowed[] = 'text/html';

Or, if you want to only allow HTML files:
$newmenu->no_script = false;
$newmenu->allowed = array('text/html');
Reply