Open minipai opened 12 years ago
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('render')) { function render($data = array()) { $CI =& get_instance();
$CI->template->set($data); $CI->template->render(); }
}
// ------------------------------------------------------------------------
I found this useful and created for myself. hope you like this idea. it makes controller cleaner
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('render')) { function render($data = array()) { $CI =& get_instance();
}
// ------------------------------------------------------------------------
I found this useful and created for myself. hope you like this idea. it makes controller cleaner