You are here

function domain_conf_domaininstall in Domain Access 5

Implement hook_domaininstall()

File

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

Code

function domain_conf_domaininstall() {

  // If Domain Conf is being used, check to see that it is installed correctly.
  if (module_exists('domain_conf') && !function_exists('_domain_conf_load')) {
    drupal_set_message(t('The Domain Configuration module is not installed correctly.  Please edit your settings.php file as described in <a href="!url">INSTALL.txt</a>', array(
      '!url' => base_path() . drupal_get_path('module', 'domain_conf') . '/INSTALL.txt',
    )));
  }
}