CodeIgniter Forums
parameter missing in language support - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: parameter missing in language support (/showthread.php?tid=6487)



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.