1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Filesmanager Plugin: forbidden types array - updated.

This commit is contained in:
Sergey Romanenko
2012-12-14 10:53:57 +02:00
parent 7e5f0ac468
commit 01163098e6

View File

@@ -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');