(12-22-2014, 02:11 AM)libreteam_studio Wrote: Code:
function view($path)
{
$ci = &get_instance();
return $ci->load->view($path);
}
Hi maybe it is offtopic but why in php 5 we have to write $CI =& get_instance(); and not $CI = get_instance();
get_instance returns an object which passed by reference?
Thanks