update
This commit is contained in:
parent
6210c99f9b
commit
45c38c6da9
6 changed files with 2 additions and 25 deletions
|
@ -4,8 +4,8 @@ $count = $DB->count('ssl', array('ssl_client_id' => $ClientInfo['client_id']));
|
||||||
|
|
||||||
if ($count > 0) {
|
if ($count > 0) {
|
||||||
$rows = $DB->findAll('ssl', '*', array('ssl_client_id' => $ClientInfo['client_id']), "`ssl_id` DESC");
|
$rows = $DB->findAll('ssl', '*', array('ssl_client_id' => $ClientInfo['client_id']), "`ssl_id` DESC");
|
||||||
|
$SSLApi = $DB->find('ssl_api', '*', array('api_key' => 'GOGETSSL'), null, 1);
|
||||||
|
|
||||||
require_once ROOT . '/core/handler/SSLHandler.php';
|
|
||||||
require_once ROOT . '/modules/GoGetSSL/GoGetSSLApi.php';
|
require_once ROOT . '/modules/GoGetSSL/GoGetSSLApi.php';
|
||||||
$apiClient = new GoGetSSLApi();
|
$apiClient = new GoGetSSLApi();
|
||||||
$apiClient->auth($SSLApi['api_username'], $SSLApi['api_password']);
|
$apiClient->auth($SSLApi['api_username'], $SSLApi['api_password']);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
$ssl_id = get('ssl_id');
|
$ssl_id = get('ssl_id');
|
||||||
|
|
||||||
require_once ROOT . '/core/handler/SSLHandler.php';
|
$SSLApi = $DB->find('ssl_api', '*', array('api_key' => 'GOGETSSL'), null, 1);
|
||||||
require_once ROOT . '/modules/GoGetSSL/GoGetSSLApi.php';
|
require_once ROOT . '/modules/GoGetSSL/GoGetSSLApi.php';
|
||||||
|
|
||||||
$apiClient = new GoGetSSLApi();
|
$apiClient = new GoGetSSLApi();
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
$AccountApi = $DB->find('account_api', '*', array('api_key' => 'myownfreehost'), null, 1);
|
|
||||||
|
|
||||||
$AccountApiConfig = array(
|
|
||||||
'apiUsername' => $AccountApi['api_username'],
|
|
||||||
'apiPassword' => $AccountApi['api_password'],
|
|
||||||
// 'apiUrl' => 'https://panel.myownfreehost.net/xml-api/',
|
|
||||||
'plan' => $AccountApi['api_package'],
|
|
||||||
);
|
|
|
@ -1,3 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
$SSLApi = $DB->find('ssl_api', '*', array('api_key' => 'FREESSL'), null, 1);
|
|
|
@ -1,9 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>403 Forbidden</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p>Directory access is forbidden.</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -217,7 +217,6 @@ DROP TABLE IF EXISTS `pre_tickets`;
|
||||||
CREATE TABLE `pre_tickets` (
|
CREATE TABLE `pre_tickets` (
|
||||||
`ticket_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
`ticket_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`ticket_client_id` int(11) NOT NULL,
|
`ticket_client_id` int(11) NOT NULL,
|
||||||
`ticket_unique_id` int(6) NOT NULL,
|
|
||||||
`ticket_subject` varchar(50) NOT NULL,
|
`ticket_subject` varchar(50) NOT NULL,
|
||||||
`ticket_email` varchar(100) NOT NULL,
|
`ticket_email` varchar(100) NOT NULL,
|
||||||
`ticket_department` varchar(10) NOT NULL,
|
`ticket_department` varchar(10) NOT NULL,
|
||||||
|
|
Loading…
Reference in a new issue