|
|
@@ -15,6 +15,18 @@ if (!defined('WHMCS')) {
|
|
|
die('This file cannot be accessed directly');
|
|
|
}
|
|
|
|
|
|
+function cwp7_MetaData() {
|
|
|
+ return array(
|
|
|
+ 'DisplayName' => 'CentOS Web Panel Provisioning',
|
|
|
+ 'APIVersion' => '1',
|
|
|
+ 'DefaultNonSSLPort' => '2031',
|
|
|
+ 'DefaultSSLPort' => '2031',
|
|
|
+ 'RequiresServer' => true,
|
|
|
+ 'ServiceSingleSignOnLabel' => 'Login to CWP7',
|
|
|
+ 'AdminSingleSignOnLabel' => 'Login to CWP7 Admin'
|
|
|
+ );
|
|
|
+}
|
|
|
+
|
|
|
function cwp7_ConfigOptions() {
|
|
|
$whmcs = App::self();
|
|
|
$serverGroupID = $whmcs->get_req_var('servergroup');
|