hola
com solucion es problema
for ($i=0; $i<count($lang); $i++)
{
STemplate::assign('lang'.$i, $lang[$i]);
}
STemplate::assign('baseurl', $config['baseurl']);
STemplate::assign('basedir', $config['basedir']);
STemplate::assign('adminurl', $config['adminurl']);
STemplate::assign('cssurl', $config['cssurl']);
STemplate::assign('imagedir', $config['imagedir']);
STemplate::assign('imageurl', $config['imageurl']);
STemplate:etCompileDir($config['basedir']."/temporary");
STemplate:etTplDir($config['basedir']."/themes")