You are here

function _i18n_goto in Internationalization 5.3

Same name and namespace in other branches
  1. 5 i18n.module \_i18n_goto()
  2. 5.2 i18n.module \_i18n_goto()

Emulates drupal_goto, it may not be loaded yet

1 call to _i18n_goto()
i18n_init in ./i18n.module
Implementation of hook_init()

File

./i18n.module, line 640
Internationalization (i18n) module

Code

function _i18n_goto($lang) {
  if (!function_exists('drupal_goto')) {
    require_once './includes/common.inc';
    require_once './includes/path.inc';
  }
  drupal_goto($lang);
}