You are here

function _drd_server_get_check_token in Drupal Remote Dashboard Server 6.2

Same name and namespace in other branches
  1. 7.2 drd_server.module \_drd_server_get_check_token()

Parameters

string $url:

int $var:

Return value

string

2 calls to _drd_server_get_check_token()
drd_server_check in ./drd_server.module
Callback for the url 'admin/drd_server/%' to find out if a proper result is returned which indicates whether drd_server is installed on a certain domain or not.
drd_server_server_check_host in ./drd_server.server.inc
Function called by drd_server_server_domains() to check a specific URL if it really exists and if the module drd_server is installed.

File

./drd_server.module, line 831

Code

function _drd_server_get_check_token($url, $var) {
  return md5(implode('-', array(
    $var,
    $url,
    $var / 2,
  )));
}