config->site_url($uri); } } //addign img/prefix, so I don't have to in every call if (! function_exists('ibase_url')) { function ibase_url($uri = '') { $muri = 'img/' . $uri; $CI =& get_instance(); return $CI->config->base_url($muri); } }