[eluser]toopay[/eluser]
Any error occur by above script?
You should not grab $CFG like that. Its more appropriate to use something like :
Code:
$config =& get_config();
$this->load($lang_file, $config['language']);
Also, you actually dont have to passed the second parameter to fetch language config, the
load method within Lang class will do that automatically if you dont passed the second argument.