Revision 268
Added by ryan almost 19 years ago
uninstall.php | ||
---|---|---|
30 | 30 |
$file = $_POST['file']; |
31 | 31 |
} |
32 | 32 |
|
33 |
// Extra protection |
|
34 |
if(trim($file) == '') { |
|
35 |
header("Location: index.php"); |
|
36 |
} |
|
37 |
|
|
33 | 38 |
// Setup admin object |
34 | 39 |
require('../../config.php'); |
35 | 40 |
require_once(WB_PATH.'/framework/class.admin.php'); |
Also available in: Unified diff
Added extra protection from deleting all addons if none selected