Skip to content

Commit

Permalink
add callback_example
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Gavryliuk committed Oct 21, 2016
1 parent 5320e75 commit 85ba89c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 135 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
<?php


/**
* @package SolusVM > WHMCS callback script
* @author Soluslabs Ltd
* @version 1.1 2014-03-03
*/
// it needs to be removed
exit();

/**
* @var $admin_user
Expand All @@ -19,14 +15,14 @@
* The hash as shown in SolusVM.
*/

$security_hash = "f717d372d5ca999a15b2a6fe076d5b6dddae726f";
$security_hash = "xxx";

/**
* @var $connection_ip
* The ip address of your SolusVM master.
*/

$connection_ip = "192.168.59.3";
$connection_ip = "xxx";


/**
Expand All @@ -41,14 +37,6 @@
$action = isset( $_POST["action"] ) ? $_POST["action"] : "";
$vserverid = isset( $_POST["vserverid"] ) ? (int) $_POST["vserverid"] : "";
$extra = isset( $_POST["data"] ) ? $_POST["data"] : "";
/*logModuleCall(
'callback',
'action',
$_POST,
$_SERVER,
''
);
*/

$extra_var = array();
if ( $extra ) {
Expand Down
13 changes: 0 additions & 13 deletions phpunit.xml

This file was deleted.

70 changes: 0 additions & 70 deletions tests/WHMCSModuleTest.php

This file was deleted.

36 changes: 0 additions & 36 deletions tests/_bootstrap.php

This file was deleted.

0 comments on commit 85ba89c

Please sign in to comment.