Any update on thisI would love to know if you were able to find where to restrict the file types.
Clearly define the allowed file extensions should be a featured for future upgrades.
The uploadable file types are controlled by the file extension list at arrowchat/includes/classes/class_uploads.phpAny update on thisI would love to know if you were able to find where to restrict the file types.
Clearly define the allowed file extensions should be a featured for future upgrades.
// ###################### START MAIN UPLOAD SCRIPT #######################
if (!empty($_FILES))
{
if ($file_transfer_on == 1 || $chatroom_transfer_on == 1)
{
$fileTypes = array('jpg', 'jpeg', 'gif', 'png', 'doc', 'txt', 'zip', 'mp4', 'rar', 'wmv', 'mp3', 'avi'); // Allowed file types
$fileTypes = array('avi', 'bmp', 'doc', 'docx', 'gif', 'ico', 'jpeg', 'jpg', 'mp3', 'mp4', 'pdf', 'png', 'ppt', 'pptx', 'rar', 'tar', 'txt', 'wav', 'wmv', 'xls', 'xlsx', 'zip', '7z'); // Allowed file types