Ver código fonte

add functions

andre 3 anos atrás
pai
commit
3e4d277906
1 arquivos alterados com 12 adições e 0 exclusões
  1. 12 0
      cwp7.php

+ 12 - 0
cwp7.php

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