Jackson Dou 1 year ago
parent
commit
45c38c6da9

+ 1 - 1
src/clientarea/controllers/myssl/list.php

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

+ 1 - 1
src/clientarea/controllers/myssl/view.php

@@ -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();

+ 0 - 10
src/core/handler/HostingHandler.php

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

+ 0 - 3
src/core/handler/SSLHandler.php

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

+ 0 - 9
src/core/handler/index.html

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

+ 0 - 1
src/install/data/install.sql

@@ -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,