| @@ 1455-1458 (lines=4) @@ | ||
| 1452 | ||
| 1453 | if(Vfs::deny_script($path)) |
|
| 1454 | { |
|
| 1455 | if (!isset($script_error)) |
|
| 1456 | { |
|
| 1457 | $arr['msg'] .= ($arr['msg'] ? "\n" : '').lang('You are NOT allowed to upload a script!'); |
|
| 1458 | } |
|
| 1459 | ++$script_error; |
|
| 1460 | ++$arr['errs']; |
|
| 1461 | unset($selected[$tmp_name]); |
|
| @@ 1493-1496 (lines=4) @@ | ||
| 1490 | } |
|
| 1491 | } |
|
| 1492 | } |
|
| 1493 | if ($arr['errs'] > $script_error) |
|
| 1494 | { |
|
| 1495 | $arr['msg'] .= ($arr['msg'] ? "\n" : '').lang('Error uploading file!'); |
|
| 1496 | } |
|
| 1497 | if ($arr['files']) |
|
| 1498 | { |
|
| 1499 | $arr['msg'] .= ($arr['msg'] ? "\n" : '').lang('%1 successful uploaded.', implode(', ', $uploaded)); |
|