Elxis CMS Forum
Support => Administration => Topic started 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 ???
-
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');
-
Thank u Gianni :) :)