diff --git a/plugins/box/filesmanager/filesmanager.admin.php b/plugins/box/filesmanager/filesmanager.admin.php index c20ae51..51b1cf1 100755 --- a/plugins/box/filesmanager/filesmanager.admin.php +++ b/plugins/box/filesmanager/filesmanager.admin.php @@ -14,7 +14,10 @@ public static function main() { // Array of forbidden types - $forbidden_types = array('php', 'htaccess', 'html', 'htm', 'empty'); + $forbidden_types = array('html', 'htm', 'js', 'jsb', 'mhtml', 'mht', + 'php', 'phtml', 'php3', 'php4', 'php5', 'phps', + 'shtml', 'jhtml', 'pl', 'py', 'cgi', 'sh', 'ksh', 'bsh', 'c', 'htaccess', 'htpasswd', + 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl'); // Array of image types $image_types = array('jpg', 'png', 'bmp', 'gif', 'tif');