Revision 286
Added by stefan almost 20 years ago
| rename.php | ||
|---|---|---|
| 47 | 47 |
// Get the temp id |
| 48 | 48 |
if(!is_numeric($admin->get_get('id'))) {
|
| 49 | 49 |
header("Location: browse.php?dir=$directory");
|
| 50 |
exit(0); |
|
| 50 | 51 |
} else {
|
| 51 | 52 |
$file_id = $admin->get_get('id');
|
| 52 | 53 |
} |
Also available in: Unified diff
Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.