Anonymous     Text only     05 Sep 2011    
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
// added by Val, russian lang file to session handler
$lang = $_GET['lang'];
if (!empty($_GET['lang']) && isset($_GET['lang'])) {
setcookie('lang',$_GET['lang']);
$lang = $_COOKIE['lang'];
}
if($lang == 'ru') {
require_once ('lang.ru.php'); //include russian lang file UTF-8
}
else {
require_once ('lang.php'); // include the language file
}
// Val end