• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mainlanguage file include


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

can nobody help ? its urgent :/


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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.