Project

General

Profile

« Previous | Next » 

Revision 268

Added by ryan almost 19 years ago

Added extra protection from deleting all addons if none selected

View differences:

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