Revision 286
Added by stefan almost 19 years ago
uninstall.php | ||
---|---|---|
26 | 26 |
// Check if user selected language |
27 | 27 |
if(!isset($_POST['code']) OR $_POST['code'] == "") { |
28 | 28 |
header("Location: index.php"); |
29 |
exit(0); |
|
29 | 30 |
} |
30 | 31 |
|
31 | 32 |
// Extra protection |
32 | 33 |
if(trim($_POST['code']) == '') { |
33 | 34 |
header("Location: index.php"); |
35 |
exit(0); |
|
34 | 36 |
} |
35 | 37 |
|
36 | 38 |
// Setup admin object |
Also available in: Unified diff
Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.