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

#1
[eluser]hykoh[/eluser]
Hello,

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

#2
[eluser]hykoh[/eluser]
can nobody help ? its urgent :/

Thanks

#3
[eluser]hykoh[/eluser]
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

sorry


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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