diff --git a/src/clientarea/controllers/myssl/list.php b/src/clientarea/controllers/myssl/list.php index f562a8f66d2f46af40323042e5e160e6baf14ee3..c216fa261d3a94dedbc52b74b63b1e43559864e9 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 90c858cd9c78a0d348afae161c137ea7e9b79a14..8aedb11ad6eaa483d5bfb98b5f3aa79ef402adbe 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 a3e4c0582ec204b37bb92d20b772d055cf8300a2..0000000000000000000000000000000000000000 --- 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 c3c74a358982822dac5545cadf1233c65272d07e..0000000000000000000000000000000000000000 --- 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 3c1a4f6176c9ab77a8b17619419aa7f2aee95be2..0000000000000000000000000000000000000000 --- 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 48ae1ebccf2da8fa10bea709cab3f8e1a607f26c..bed06112c9048c9a80ef2770f54cf4a93cabc771 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,