$this->dir = isset($lang['rtl']) ? 'rtl' : 'ltr';
$locale = $path_to_root . "/lang/" . $this->code . "/locale.inc";
$this->is_locale_file = file_exists($locale);
}
$_SESSION['get_text']->set_language($this->code, $this->encoding);
$this->dir = isset($lang['rtl']) ? 'rtl' : 'ltr';
$locale = $path_to_root . "/lang/" . $this->code . "/locale.inc";
$this->is_locale_file = file_exists($locale);
}
$_SESSION['get_text']->set_language($this->code, $this->encoding);