CodeIgniter Forums

Full Version: Mainlanguage file include
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum


i dont know how to solve the following problem:

In every view i load a header and a footer view with menucontent in it ...

but i dont know how to load a "main" language file for it. if i try to put this line: $this->lang->load('main', $this->config->item('language')); anywhere, it give me an error that the instance doesnt exists. i need to load this main language file for EVERY site request.

Can anybody help me ?

Thanks alot!

Best regards

El Forum

can nobody help ? its urgent :/


El Forum

RTFM ... :xx

Sorry .. you can close this thread, i read the manual and have seen the autoload function for languages in the autoload.php :o