I have this showing up on my site. the lang function is showing on the web, but not runned as it should run on the site. The server is running nginx
Q: Why is it doing that, and how can it be prevented?
content of file:
<?
function lang($line) {
$ci = & get_instance();
$languageVariable = explode(" ", $line);
$outcome = '';
foreach($languageVariable as $langLine) {
$outcome .= $ci->lang->line($langLine);
}
return $outcome;
}
function langW($string, $var1 = FALSE, $var2 = FALSE, $var3 = FALSE)
{
return sprintf(lang($string), ($var1 ? $var1 : ''), ($var2 ? $var2 : ''));
}
function langV($line, $var)
{
$ci = & get_instance();
return sprintf($ci->lang->line($line), $var);
}