Skip to content

Commit bee45ad

Browse files
committed
WHMCS module sponsered by wexcloud.com
1 parent 8a8f2a0 commit bee45ad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

install/0.9.7/rhel/whmcs-module.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
// This module sponsered by our good friends from wexcloud.com
3+
24

35
function vesta_ConfigOptions() {
46

@@ -272,7 +274,7 @@ function vesta_ChangePackage($params) {
272274

273275
function vesta_ClientArea($params) {
274276

275-
$code = '<form action="https://'.$params["serverhostname"].'/login/" method="post" target="_blank">
277+
$code = '<form action="https://'.$params["serverhostname"].':8083/login/" method="post" target="_blank">
276278
<input type="hidden" name="user" value="'.$params["username"].'" />
277279
<input type="hidden" name="password" value="'.$params["password"].'" />
278280
<input type="submit" value="Login to Control Panel" />
@@ -284,7 +286,7 @@ function vesta_ClientArea($params) {
284286

285287
function vesta_AdminLink($params) {
286288

287-
$code = '<form action="https://'.$params["serverhostname"].'/login/" method="post" target="_blank">
289+
$code = '<form action="https://'.$params["serverhostname"].':8083/login/" method="post" target="_blank">
288290
<input type="hidden" name="user" value="'.$params["serverusername"].'" />
289291
<input type="hidden" name="password" value="'.$params["serverpassword"].'" />
290292
<input type="submit" value="Login to Control Panel" />
@@ -295,7 +297,7 @@ function vesta_AdminLink($params) {
295297

296298
function vesta_LoginLink($params) {
297299

298-
echo "<a href=\"https://".$params["serverhostname"]."/login/\" target=\"_blank\" style=\"color:#cc0000\">control panel</a>";
300+
echo "<a href=\"https://".$params["serverhostname"].":8083/login/\" target=\"_blank\" style=\"color:#cc0000\">control panel</a>";
299301

300302
}
301303

0 commit comments

Comments
 (0)