You are here

public function VariableRealmGlobal::variable_init in Variable 7

Initialize variables.

Overrides VariableRealmDefaultController::variable_init

File

variable_realm/variable_realm.class.inc, line 149
Variable realm controller

Class

VariableRealmGlobal
Controller for default system variables.

Code

public function variable_init() {
  if (!isset($this->variables)) {
    $this->variables = $GLOBALS['conf'];
  }
}