<?php
Class Language {
private $lang = array();
public static function config($var)
{
$lng=Core::lang();
if(file_exists(S.'/lang/'.$lng.'/lang.ini'))
{
$lang =parse_ini_file(S.'/lang/'.$lng.'/lang.ini');
return $lang[$var];
}
}
}
?>