You are here

function _drd_server_debug_mode in Drupal Remote Dashboard Server 6.2

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

Parameters

bool $debug:

Return value

bool

3 calls to _drd_server_debug_mode()
drd_server_key in ./drd_server.module
This is called to update the excryption keys for this server and all it's domains hosted in the same Drupal installation.
_drd_server_validate_request in ./drd_server.module
_drd_server_watchdog in ./drd_server.module
Internal watchdog replacement which only reports to watchdog if debugging is switched on by the remote DRD dashboard.

File

./drd_server.module, line 839

Code

function _drd_server_debug_mode($debug = NULL) {
  static $debug_mode = FALSE;
  if (isset($debug)) {
    $debug_mode = $debug;
  }
  return $debug_mode;
}