Create one directory named ‘applications/init’. |
if ( ! class_exists('MySmarty')) $obj =& get_instance(); ?> |
create one file named ‘applications/libraries/MySmarty.php’ |
class MySmarty extends Smarty{ function __construct() |
paste “applications/libraries/libs” of smarty in libraries of application : refer to MySmarty.php class for the path. Create ‘templates_c’ and ‘templates’ in views directory |
Try this controller: function Blog() |
Saturday, January 26, 2008
Integrating smarty in CI
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment