2015-06-12 06:00:04 +02:00
|
|
|
<?php defined('BLUDIT') or die('Bludit CMS.');
|
|
|
|
|
|
|
|
// ============================================================================
|
|
|
|
// Check role
|
|
|
|
// ============================================================================
|
|
|
|
|
2018-05-20 21:48:43 +02:00
|
|
|
checkRole(array('admin'));
|
2015-06-12 06:00:04 +02:00
|
|
|
|
|
|
|
// ============================================================================
|
|
|
|
// Functions
|
|
|
|
// ============================================================================
|
|
|
|
|
2015-08-03 02:49:12 +02:00
|
|
|
// ============================================================================
|
2017-09-09 00:33:14 +02:00
|
|
|
// Main before POST
|
2015-08-03 02:49:12 +02:00
|
|
|
// ============================================================================
|
|
|
|
|
2015-06-12 06:00:04 +02:00
|
|
|
// ============================================================================
|
|
|
|
// POST Method
|
|
|
|
// ============================================================================
|
|
|
|
|
|
|
|
// ============================================================================
|
2015-08-03 02:49:12 +02:00
|
|
|
// Main after POST
|
2015-06-12 06:00:04 +02:00
|
|
|
// ============================================================================
|
|
|
|
$pluginClassName = $layout['parameters'];
|
2017-09-09 00:33:14 +02:00
|
|
|
deactivatePlugin($pluginClassName);
|
|
|
|
Redirect::page('plugins');
|