[eluser]Unknown[/eluser]
Hello Aken,
Thank you for creating this CI-Smarty integration.
I had to change MY_Loader.php because syntax errors were not showing.
The end of MY_Loader.php now contains:
Code:
try {
$output = $CI->smartytpl->fetch($template);
// Return the output if the return value is TRUE.
if ($return === true) return $output;
// Otherwise append to output just like a view.
$CI->output->append_output($output);
} catch(Exception $e) {
show_error($e->getMessage());
}
and now Smarty syntax errors are showing.
Is this the right way to do this? Can you change it in the git-repository, or should I do a pull-request?
Kind regards,
Hendrik