Revision 1484
Added by Dietmar over 13 years ago
upload.php | ||
---|---|---|
86 | 86 |
$info = pathinfo($filename); |
87 | 87 |
$ext = isset($info['extension']) ? $info['extension'] : ''; |
88 | 88 |
|
89 |
if ( ($filename != '') && !preg_match("/\." . $forbidden_file_types . "$/i", $ext) )
|
|
89 |
if ( ($filename != '') && !preg_match("/" . $forbidden_file_types . "$/i", $ext) ) |
|
90 | 90 |
{ |
91 | 91 |
// Move to relative path (in media folder) |
92 | 92 |
if(file_exists($relative.$filename) AND $overwrite == true) { |
Also available in: Unified diff
move fixes 2.8.2 to 2.8.3
fixes will be shown in an extra readme
an package with the fixed files will be created
for all users who downloaded the 2.8.2 before 29 Jul-2011