Welcome Guest, Not a member yet? Register   Sign In
Using config item in language file
#3

[eluser]Armchair Samurai[/eluser]
Here's another way to do it:

Code:
//In your language file
$lang['call_us'] = 'Please call us at %s.';

//When you need the string
printf($this->lang->line('call_us'), $this->config->item('settings.tollfree'));


Messages In This Thread
Using config item in language file - by El Forum - 06-03-2011, 12:37 PM
Using config item in language file - by El Forum - 06-03-2011, 06:36 PM
Using config item in language file - by El Forum - 06-03-2011, 08:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB