Deactivate($_GET['name']); } } ////////////////////////////////////////////////////////////////// // Activate Plugin ////////////////////////////////////////////////////////////////// if($_GET['action']=='activate'){ if(checkAccess()) { $Plugin_manager->Activate($_GET['name']); } } ////////////////////////////////////////////////////////////////// // Install Plugin ////////////////////////////////////////////////////////////////// if($_GET['action']=='install'){ if(checkAccess()) { $Plugin_manager->Install($_GET['name'], $_GET['repo']); } } ////////////////////////////////////////////////////////////////// // Remove Plugin ////////////////////////////////////////////////////////////////// if($_GET['action']=='remove'){ if(checkAccess()) { $Plugin_manager->Remove($_GET['name']); } } ////////////////////////////////////////////////////////////////// // Update Plugin ////////////////////////////////////////////////////////////////// if($_GET['action']=='update'){ if(checkAccess()) { $Plugin_manager->Update($_GET['name']); } } ?>