auto update for plugins

This commit is contained in:
daeks
2013-05-04 11:39:22 +02:00
parent 1c89eff3a7
commit baee76cb94
4 changed files with 97 additions and 12 deletions

View File

@@ -37,6 +37,15 @@
$Plugin_manager->Activate($_GET['name']);
}
}
//////////////////////////////////////////////////////////////////
// Update Plugin
//////////////////////////////////////////////////////////////////
if($_GET['action']=='update'){
if(checkAccess()) {
$Plugin_manager->Update($_GET['name']);
}
}
?>