sybrex on 10/23/10
Last Edited at 10/23/10 04:57pm
function __autoload($class){ if (strpos($class, 'CI_') !== 0) { if (is_file($location = APPPATH.'libraries/'.$class.EXT)) { include_once $location; } else if (is_file($location = APPPATH.'core/'.$class.EXT)) { include_once $location; } }}
Report this snippet Tweet
Comment:
You need to login to post a comment.