/**
* Static base API URL
*/
- private static $apiUrl = 'http://www.wds66.com/api/';
+ private static $apiUrl = 'https://www.wds66.com/api/';
/**
* API Wernis amount
$response = $this->sendRawRequest($requestString);
// Check the response header if all is fine
- if (strpos($response[0], '200') === FALSE) {
+ if (strpos($response[0], '200') === false) {
// Something bad happend... :(
return array(
'status' => 'request_error',
// Widthdraw this amount
private function executeWithdraw ($amount) {
// First all fails...
- $result = FALSE;
+ $result = false;
// Prepare the purpose
$purpose = "\"Bube oder Dame\"-Einsatz gesetzt.";
if ($return['status'] == $this->statusOkay) {
// All fine!
- $result = TRUE;
+ $result = true;
} else {
// Status failture text
$this->setStatusMessage($return['message'], $return['status']);
// Payout this amount
private function executePayout ($amount) {
// First all fails...
- $result = FALSE;
+ $result = false;
// Prepare the purpose
$purpose = "\"Bube oder Dame\"-Gewinn erhalten.";
if ($return['status'] == $this->statusOkay) {
// All fine!
- $result = TRUE;
+ $result = true;
} else {
// Status failture text
$this->setStatusMessage($return['message'], $return['status']);