Remove key
This commit is contained in:
parent
dc583a6e41
commit
70a7410b1a
|
@ -44,13 +44,12 @@ class BillingController extends Zend_Controller_Action {
|
||||||
//$invoiceUrl = "https://account.sourcefabric.com/viewinvoice.php?id=".$result["invoiceid"];
|
//$invoiceUrl = "https://account.sourcefabric.com/viewinvoice.php?id=".$result["invoiceid"];
|
||||||
|
|
||||||
$whmcsurl = "https://account.sourcefabric.com/dologin.php";
|
$whmcsurl = "https://account.sourcefabric.com/dologin.php";
|
||||||
$autoauthkey = "MabIttEtkac2";
|
$autoauthkey = "";
|
||||||
$timestamp = time(); //whmcs timezone?
|
$timestamp = time(); //whmcs timezone?
|
||||||
$client = self::getClientDetails();
|
$client = self::getClientDetails();
|
||||||
$email = $client["email"];
|
$email = $client["email"];
|
||||||
$hash = sha1($email.$timestamp.$autoauthkey);
|
$hash = sha1($email.$timestamp.$autoauthkey);
|
||||||
//$goto="viewinvoice.php?id=5108";
|
$goto="viewinvoice.php?id=5108";
|
||||||
$goto = "clientarea.php";
|
|
||||||
$this->_redirect($whmcsurl."?email=$email×tamp=$timestamp&hash=$hash&goto=$goto");
|
$this->_redirect($whmcsurl."?email=$email×tamp=$timestamp&hash=$hash&goto=$goto");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue