我想使用Smarty与CodeIgniter一起,问题是我以前使用过CodeIgniter但从未使用过Smarty,但我正在努力学习它.. :)
现在有一个小问题,在CodeIgniter中,当我需要baseurl时,我使用这个
<?php echo base_url('styles/bootstrap/css/bootstrap-theme.min.css'); ?>
but how to use it using smarty templates, i mean in smarty .tpl files instead of
i did it like this but it didnt worked for me..
{base_url('styles/bootstrap/css/bootstrap-theme.min.css');}
but got error. i know its not right way but had to try lol..
any ideas?