I’ve connected Smarty to CodeIgniter and now of course i cant use {memory_used} and {elapsed_time}, but i want to know how i can output this information to my webpage now?
I’ve connected Smarty to CodeIgniter and now of course i cant use {memory_used} and
Share
Benchmark class
They do return their mustached values that are parsed by output class later, so if you use Smarty, you can basically use the raw functions CodeIgniter uses itself.
Note it is really a workaround and there should be better ways to do it.