CodeIgniter Forums
parameter missing in language support - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: parameter missing in language support (/thread-6487.html)



parameter missing in language support - El Forum - 02-29-2008

[eluser]Unknown[/eluser]
With

$this->lang->load('filename', 'language');

you can provide 2 parameters; with autoload you can pass only one parameter, filename, not language - but this is supposed to work. How?

function language($file = array(), $lang = '')

doesn't tell where to get the second parameter from.