You are here

function domain_conf_init in Domain Access 7.2

Same name and namespace in other branches
  1. 6.2 domain_conf/domain_conf.module \domain_conf_init()

Implements hook_init()

File

domain_conf/domain_conf.module, line 71
Domain manager configuration options.

Code

function domain_conf_init() {

  // Allow sites to add implementations of hook_domainconf() without hacking.
  // See http://drupal.org/node/236877.
  if (arg(0) == 'admin') {
    $extra = drupal_get_path('module', 'domain_conf') . '/domain_conf.inc';
    if (file_exists($extra)) {
      include $extra;
    }
  }
}