1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 07:30:10 +01:00
This commit is contained in:
Savetheinternet 2011-09-18 03:25:38 +10:00
parent 4cbf5b91bf
commit d51f6a932e

View File

@ -412,8 +412,6 @@
}
}
exit;
if($post['has_file']) {
if(!in_array($post['extension'], $config['allowed_ext']) && !in_array($post['extension'], $config['allowed_ext_files']))
error($config['error']['unknownext']);