diff --git a/src/clientarea/controllers/myssl/list.php b/src/clientarea/controllers/myssl/list.php index f562a8f..c216fa2 100755 --- a/src/clientarea/controllers/myssl/list.php +++ b/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']); diff --git a/src/clientarea/controllers/myssl/view.php b/src/clientarea/controllers/myssl/view.php index 90c858c..8aedb11 100644 --- a/src/clientarea/controllers/myssl/view.php +++ b/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(); diff --git a/src/core/handler/HostingHandler.php b/src/core/handler/HostingHandler.php deleted file mode 100755 index a3e4c05..0000000 --- a/src/core/handler/HostingHandler.php +++ /dev/null @@ -1,10 +0,0 @@ -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'], -); diff --git a/src/core/handler/SSLHandler.php b/src/core/handler/SSLHandler.php deleted file mode 100644 index c3c74a3..0000000 --- a/src/core/handler/SSLHandler.php +++ /dev/null @@ -1,3 +0,0 @@ -find('ssl_api', '*', array('api_key' => 'FREESSL'), null, 1); diff --git a/src/core/handler/index.html b/src/core/handler/index.html deleted file mode 100755 index 3c1a4f6..0000000 --- a/src/core/handler/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - 403 Forbidden - - -

Directory access is forbidden.

- - diff --git a/src/install/data/install.sql b/src/install/data/install.sql index 48ae1eb..bed0611 100644 --- a/src/install/data/install.sql +++ b/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,