Elxis CMS Forum

Support => Administration => Topic started by: rentasite on June 10, 2008, 12:03:37

Title: HTML Valid filetypes [SOLVED]
Post by: rentasite on June 10, 2008, 12:03:37
Hi,

i want to upload through Media Manager, (in a specific folder) HTML files. But Media manager does not allow me.

How can i add HTML files, to the Valid Filetypes  ???
Title: Re: HTML Valid filetypes
Post by: datahell on June 10, 2008, 14:59:21
If you wish to upload html files via media manager:
open /administrator/components/com_media/admin.media.php
Go to line 535 and add the value 'html' inside the array $validFileTypes:

$validFileTypes = array('gif', 'jpg', 'png', 'bmp', 'jpeg', 'mpg', 'avi', 'wmv', 'mov', 'flv',
'mpeg', 'asf', 'rm', 'nsv', 'xvid', 'mp3', 'wav', 'mid', 'ram', 'wma', 'ogg', 'aac', 'doc',
'xls', 'csv', 'ppt', 'swf', 'pdf', 'txt', 'zip', 'tar', 'rar', 'gz', 'tgz', 'html');
Title: Re: HTML Valid filetypes
Post by: rentasite on June 10, 2008, 16:26:42


Thank u Gianni  :) :)