This commit is contained in:
Jackson Dou 2023-07-28 11:02:33 +08:00
parent 6210c99f9b
commit 45c38c6da9
6 changed files with 2 additions and 25 deletions

View file

@ -4,8 +4,8 @@ $count = $DB->count('ssl', array('ssl_client_id' => $ClientInfo['client_id']));
if ($count > 0) {
$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';
$apiClient = new GoGetSSLApi();
$apiClient->auth($SSLApi['api_username'], $SSLApi['api_password']);

View file

@ -2,7 +2,7 @@
$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';
$apiClient = new GoGetSSLApi();

View file

@ -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'],
);

View file

@ -1,3 +0,0 @@
<?php
$SSLApi = $DB->find('ssl_api', '*', array('api_key' => 'FREESSL'), null, 1);

View file

@ -1,9 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View file

@ -217,7 +217,6 @@ DROP TABLE IF EXISTS `pre_tickets`;
CREATE TABLE `pre_tickets` (
`ticket_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`ticket_client_id` int(11) NOT NULL,
`ticket_unique_id` int(6) NOT NULL,
`ticket_subject` varchar(50) NOT NULL,
`ticket_email` varchar(100) NOT NULL,
`ticket_department` varchar(10) NOT NULL,