title: Creating my own base_url() in Codeigniter
body: <p>I like <code>base_url()</code> so much that I want to create another global function <code>base_img_url()</code> where I can define the url in the <code>config.php</code> file just like <code>base_url()</code>. How do I do this and where should the function be? Is this a common practice?</p>
  
  <p>Right now I'm just defining a constant in <code>constants.php</code>.</p>