if (!defined('BASEPATH')) exit('No direct script access allowed'); function image_library() { $CI =@ get_instance(); return site_url().$CI->config->item('image_library'); } ?> if (!defined('BASEPATH')) exit('No direct script access allowed'); function image_path($image, $prefix='') { $CI =@ get_instance(); return site_url().$CI->config->item('image_library')."/".$prefix.$image; } ?>