You are here

function _realname_include in Real Name 6

1 call to _realname_include()
realname_supported_modules in ./realname.module

File

./realname.module, line 714

Code

function _realname_include() {
  static $not_run = TRUE;
  if ($not_run) {
    $path = drupal_get_path('module', 'realname');
    if (module_exists('content_profile')) {
      require_once "{$path}/realname_content_profile.inc";
    }
    if (module_exists('profile')) {
      require_once "{$path}/realname_profile.inc";
    }
    $not_run = TRUE;
  }
}