Revision 1425
Added by Dietmar almost 14 years ago
upload.php | ||
---|---|---|
35 | 35 |
|
36 | 36 |
if (!$admin->checkFTAN()) |
37 | 37 |
{ |
38 |
$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], WB_URL);
|
|
38 |
$admin->print_error('UP5::'.$MESSAGE['GENERIC_SECURITY_ACCESS']);
|
|
39 | 39 |
exit(); |
40 | 40 |
} |
41 | 41 |
|
... | ... | |
43 | 43 |
require_once(WB_PATH.'/framework/functions.php'); |
44 | 44 |
|
45 | 45 |
// Check to see if target contains ../ |
46 |
if (!check_media_path($target, false)) { |
|
47 |
$admin->print_error($MESSAGE['MEDIA']['TARGET_DOT_DOT_SLASH']); |
|
46 |
if (!check_media_path($target, false)) |
|
47 |
{ |
|
48 |
$admin->print_error('TD5::'.$MESSAGE['MEDIA']['TARGET_DOT_DOT_SLASH']); |
|
48 | 49 |
} |
49 | 50 |
|
50 | 51 |
// Create relative path of the target location for the file |
Also available in: Unified diff
redefined wrong admin backlinks