瀏覽代碼

add functions

andre 3 年之前
父節點
當前提交
3e4d277906
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      cwp7.php

+ 12 - 0
cwp7.php

@@ -15,6 +15,18 @@ if (!defined('WHMCS')) {
 	die('This file cannot be accessed directly');
 	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() {
 function cwp7_ConfigOptions() {
     $whmcs = App::self();
     $whmcs = App::self();
     $serverGroupID = $whmcs->get_req_var('servergroup');
     $serverGroupID = $whmcs->get_req_var('servergroup');