Revision 1457
Added by Luisehahne over 14 years ago
| uninstall.php | ||
|---|---|---|
| 11 | 11 |
* @platform WebsiteBaker 2.8.x |
| 12 | 12 |
* @requirements PHP 5.2.2 and higher |
| 13 | 13 |
* @version $Id$ |
| 14 |
* @filesource $HeadURL: http://svn.websitebaker2.org/branches/2.8.x/wb/admin/users/save.php $
|
|
| 15 |
* @lastmodified $Date: 2011-01-10 13:21:47 +0100 (Mo, 10. Jan 2011) $
|
|
| 14 |
* @filesource $HeadURL$ |
|
| 15 |
* @lastmodified $Date$ |
|
| 16 | 16 |
* |
| 17 | 17 |
*/ |
| 18 | 18 |
|
| 19 | 19 |
// Setup admin object |
| 20 | 20 |
require('../../config.php');
|
| 21 | 21 |
require_once(WB_PATH.'/framework/class.admin.php'); |
| 22 |
$admin = new admin('Addons', 'modules_uninstall');
|
|
| 22 |
$admin = new admin('Addons', 'modules_uninstall', false);
|
|
| 23 |
if( !$admin->checkFTAN() ) |
|
| 24 |
{
|
|
| 25 |
$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']); |
|
| 26 |
} |
|
| 27 |
// After check print the header |
|
| 28 |
$admin->print_header(); |
|
| 23 | 29 |
|
| 24 | 30 |
// Check if user selected module |
| 25 | 31 |
if(!isset($_POST['file']) OR $_POST['file'] == "") {
|
| 26 | 32 | |
Also available in: Unified diff
Preparing 2.8.2 stable, last tests