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