php - How to access language file inside config? -


how can use language file inside config.php php codeigniter? searched find solution out side config can set item in config use language file setting config item value, how can set config item using language file inside config file? example want bellow:

$config['item'] = array(     '1' => $ci->lang->line('my_name') ); 

you use wrong way. try make view function in config file. can make in template or may in model.

you should change application architecture.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -