function domain_prefix_domaininstall in Domain Access 5
Implement hook_domaininstall()
File
- domain_prefix/
domain_prefix.module, line 782 - Interface for selective table prefixing for use with Domain Access. For this module to work correctly, you will need to follow the INSTALL.txt instructions for editing your settings.php file.
Code
function domain_prefix_domaininstall() {
// If Domain Prefix is being used, check to see that it is installed correctly.
if (module_exists('domain_prefix') && !function_exists('_domain_prefix_load')) {
drupal_set_message(t('The Domain Prefix 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_prefix') . '/INSTALL.txt',
)));
}
}