Implement PLESK, SSL Services

This commit is contained in:
Deon George
2011-12-17 10:31:35 +11:00
parent cb18209369
commit c8fd44f844
29 changed files with 1038 additions and 438 deletions

View File

@@ -0,0 +1,25 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class provides OSB SSL task capabilities.
*
* @package OSB
* @subpackage SSL
* @category Controllers/Task
* @author Deon George
* @copyright (c) 2010 Open Source Billing
* @license http://dev.osbill.net/license.html
*/
class Controller_Task_SSL extends Controller_Task {
/**
* Renew a certificate
*/
public function action_renew() {
// @todo, Change this to be a SSL id, maybe list all the certs expiring
$id = $this->request->param('id');
$so = ORM::factory('service',$id);
$so->plugin()->renew();
}
}
?>